|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.corba.se.internal.javax.rmi.CORBA.Util
com.sun.corba.se.internal.iiop.ShutdownUtilDelegate
org.jboss.iiop.SunJDK14IsLocalBugFix
There is a bug in Sun's implementation of the method javax.rmi.CORBA.Util.isLocal(). Stubs generated with the rmic tool call this method to check is the call is a local invocation, which they can optimize. However, Sun's implementation of isLocal() tries to cast the stub to a proprietary class. This is against the rules. Since the ORB is pluggable ("-Dorg.omg.CORBA.ORBClass=...), Sun's implementation of a standard (javax.rmi) method should not assume that the stubs are Sun stubs.
Constructor Summary | |
SunJDK14IsLocalBugFix()
|
Method Summary | |
boolean |
isLocal(javax.rmi.CORBA.Stub stub)
|
Methods inherited from class com.sun.corba.se.internal.iiop.ShutdownUtilDelegate |
mapSystemException, unregisterTargetsForORB, writeAny |
Methods inherited from class com.sun.corba.se.internal.javax.rmi.CORBA.Util |
cleanUpTie, copyObject, copyObjects, createValueHandler, getCodebase, getTie, loadClass, readAny, registerTarget, unexportObject, unregisterTargetsForORB, wrapException, writeAbstractObject, writeRemoteObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SunJDK14IsLocalBugFix()
Method Detail |
public boolean isLocal(javax.rmi.CORBA.Stub stub) throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |