RemoteException on Remote interface not verified correctly.
-----------------------------------------------------------

         Key: JBAS-1463
         URL: http://jira.jboss.com/jira/browse/JBAS-1463
     Project: JBoss Application Server
        Type: Bug
  Components: IIOP service, EJBs  
    Versions: JBossAS-4.0.1 Final    
 Environment: N/A
    Reporter: james ahlborn
    Priority: Minor


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





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to