Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1463

RemoteException on Remote interface not verified correctly.

XMLWordPrintable

      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))

            starksm64 Scott Stark (Inactive)
            jahlborn james ahlborn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified