Bugs item #570943, was opened at 2002-06-18 23:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=570943&group_id=22866
Category: JBossServer Group: CVS HEAD Status: Open Resolution: None Priority: 5 Submitted By: Yanik Crepeau (yanikc) Assigned to: Nobody/Anonymous (nobody) Summary: InvokerInterceptor method isLocal() Initial Comment: The method isLocal() in org.jboss.invocation.InvokerInterceptor is prone to error. It uses System.currentTimeMillis() to check if the timestamp set during the class loading is the same than the timestamp copied from the class when the instance has been created. Since currentTimeMillis() has a milli-second granularity, there are chances that both remote and local version of the class could have the same timestamp. To address this, I have changed the boolean isLocal() method to use java.rmi.dgc.VMID. This class (present in J2SDK 1.2 distribution) has been designed to return a String that is unique over all virtual machines running on a network. The file included contains the proposed patch. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=570943&group_id=22866 ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development