-
Key: I2JAV11-63
-
Legacy Issue Number: 1696
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: How should ORB.init() be fixed?
ORB.init() should try to find an ORB class in the following order:
1. Try loading the class using Class.forName(String className) – this is
to take into account the possibility that the ORB implementation class
is in the core (for example: com.sun.CORBA.iiop.ORB). If that fails,
2. Try loading the class using Class.forName(String className, boolean
initialize, ClassLoader cl), where cl ==
ClassLoader.getSystemClassLoader(). In the case of an applet, cl ==
applet.getClass().getClassLoader().For sophisticated users who might have a well-behaved ClassLoader that knows
how to load the ORB implementation, it might be necessary to have a new
ORB.init() that takes a ClassLoader as an argument. For example:ORB.init(String[] args, Properties props, ClassLoader cl);
In this case, ORB.init() would load the class using the class loader that
was passed by the user instead of the system class loader. -
Reported: I2JAV 1.0 — Mon, 20 Jul 1998 04:00 GMT
-
Disposition: Resolved — I2JAV 1.1
-
Disposition Summary:
closed issue
-
Updated: Fri, 6 Mar 2015 21:36 GMT