Bugs item #434739, was updated on 2001-06-20 02:46 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=434739&group_id=22866 Category: JBossTest Group: v2.2.1 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Lukas K�ll (lkl) Assigned to: Nobody/Anonymous (nobody) Summary: Test of RemoteException in Remote interf Initial Comment: The verifier checks if the remote interface of an bean declares an RemoteException for each buseniss method declared there in. Unfortunatly the test checks for declaration of RemoteException or chils of remote exception. This is probably not what you want to do. You should rather look for RemoteExceptions or superclasses of RemoteExceptions, since the main object is to assure that a RemoteException thrown from a Proxy can get through the remote interface. More concreate i think the lines 156-165 in org.jboss.verifier.strategy.AbstractVerifier: public boolean throwsRemoteException(Method method) { Class[] exception = method.getExceptionTypes(); for (int i = 0; i < exception.length; ++i) if (java.rmi.RemoteException.class.isAssignableFrom (exception[i])) return true; return false; } Should be replaced with: public boolean throwsRemoteException(Method method) { Class[] exception = method.getExceptionTypes(); for (int i = 0; i < exception.length; ++i) if (exception[i].isAssignableFrom (java.rmi.RemoteException.class)) return true; return false; } Thank you for an excelent pice of software! BRs Lukas K�ll [EMAIL PROTECTED] ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=434739&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
