JDK-8042789 : org.omg.CORBA.ORBSingletonClass loading no longer uses context class loader
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba
  • Affected Version: 5.0u61,6u71,7u55,8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-05-08
  • Updated: 2017-05-17
  • Resolved: 2014-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7 JDK 8
5.0u75Fixed 6u85Fixed 7u55Fixed 8u20 b20Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
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
Release note outlining that the system wide/singleton ORB needs to be on the system classsloader path for JDK 9 and later : http://www.oracle.com/technetwork/java/javase/8u20-relnotes-2257729.html
02-10-2014

No issues related to the fix JDK-8042789 in the latest 8u20 nightly results.
09-06-2014

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?
08-06-2014