# HG changeset patch # User msheppar # Date 1415667767 0 # Node ID a7ffe58455eac93ed4548f955047f7fecb095fdd # Parent 4e7c4d692e934cb9023af8201e7c2b510e9c4ee1 8049522: Move @implNote in org.omg.CORBA.ORB to init method Summary: updated the implNote in the omg.org.CORBA.ORB class Reviewed-by: alanb diff -r 4e7c4d692e93 -r a7ffe58455ea corba/src/java.corba/share/classes/org/omg/CORBA/ORB.java --- a/corba/src/java.corba/share/classes/org/omg/CORBA/ORB.java Wed Jul 05 20:06:58 2017 +0200 +++ b/corba/src/java.corba/share/classes/org/omg/CORBA/ORB.java Tue Nov 11 01:02:47 2014 +0000 @@ -166,16 +166,15 @@ * * * @implNote - * As described above it is possible to specify, at runtime, an alternative ORBSingleton class and - * an alternative ORB implementation class, via the system properties {@code org.omg.CORBA.ORBSingletonClass} - * and {@code org.omg.CORBA.ORBClass} respectively. - * The class loading strategy is organized, such that, in the case of the ORBSingleton - * the system class loader is used to load the alternative singleton ORB. - * Thus, it is necessary that an application's CLASSPATH - * includes the classes for this alternative ORBSingleton, when specified. + * When a singleton ORB is configured via the system property, + * or orb.properties, it will be + * located, and loaded via the system class loader. + * Thus, where appropriate, it is necessary that + * the classes for this alternative ORBSingleton are available on the application's class path. + * It should be noted that the singleton ORB is system wide. * - * In the case of specifying an alternative ORB implementation class, the loading - * strategy will use the thread context class loader, as appropriate. + * When a per-application ORB is created via the 2-arg init methods, + * then it will be located using the thread context class loader. * * @since JDK1.2 */ @@ -295,6 +294,11 @@ * creating TypeCode objects are invoked. * * @return the singleton ORB + * + * @implNote + * When configured via the system property, or orb.properties, + * the system-wide singleton ORB is located via the + * system class loader. */ public static synchronized ORB init() { if (singleton == null) { @@ -354,6 +358,10 @@ * method; may be null * @param props application-specific properties; may be null * @return the newly-created ORB instance + * + * @implNote + * When configured via the system property, or orb.properties, + * the ORB is located via the thread context class loader. */ public static ORB init(String[] args, Properties props) { // @@ -392,6 +400,10 @@ * @param app the applet; may be null * @param props applet-specific properties; may be null * @return the newly-created ORB instance + * + * @implNote + * When configured via the system property, or orb.properties, + * the ORB is located via the thread context class loader. */ public static ORB init(Applet app, Properties props) { String className;