-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-4.0.1 Final
-
None
The code in iiop/src/main/org/jboss/iiop/rmi/RmiIdlUtil.java which verifies a Remote interface does not check exception signatures correctly. The method throwsRemoteException() (line 74) checks for RemoteException or its subclass. Instead, this method should check for RemoteException or its superclass (See http://java.sun.com/j2se/1.5.0/docs/guide/rmi/spec/rmi-objmodel5.html
). The fix is simple, line 79 should read:
if (exception[i].isAssignableFrom(java.rmi.RemoteException.class))