United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8042789 : org.omg.CORBA.ORBSingletonClass loading no longer uses context class loader

Details
Type:
Bug
Submit Date:
2014-05-08
Status:
Resolved
Updated Date:
2014-08-19
Project Name:
JDK
Resolved Date:
2014-06-07
Component:
other-libs
OS:
generic
Sub-Component:
corba
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0u61,6u71,7u55,8,9
Fixed Versions:
8u20 (b20)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
7u55 changed the implementation of
org/omg/CORBA/ORB.init() such that it now
attempts to load the ORB singleton class using the system class loader.
The previous behaviour was to use the thread context class loader.

This causes problems when the ORBSingleton class is not on the system class loader's
classpath - e.g. in the case of a third party ORB shipped with an applet.
In this scenario the init() API fails to load the singleton ORB, as specified in the system property org.omg.CORBA.ORBSingletonClass,
and you get an Exception:
org.omg.CORBA.INITIALIZE: Could not initialize can't instantiate default ORB
implementation
...
Caused by: java.lang.ClassNotFoundException
...

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8u/jdk8u-dev/corba/rev/009fc3f785a9
User:  coffeys
Date:  2014-06-07 09:11:21 +0000

                                     
2014-06-07
Is it really a stopper for the release?
Any way SQE would prever to run nightly or PIT for the fix. Would better to use some 8u20 or 7u80 build.
In which builds of 8u20/7u80 this fix has been integrated?
                                     
2014-06-08
No issues related to the fix JDK-8042789 in the latest 8u20 nightly results.
                                     
2014-06-09
URL:   http://hg.openjdk.java.net/jdk8u/jdk8u/corba/rev/009fc3f785a9
User:  lana
Date:  2014-06-20 01:26:52 +0000

                                     
2014-06-20



Hardware and Software, Engineered to Work Together