JDK-8042789 : org.omg.CORBA.ORBSingletonClass loading no longer uses context class loader
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: other-libs
  • Sub-Component: corba
  • Priority: P3
  • Affected Version: 5.0u61,6u71,7u55,8,9
  • OS: generic
  • CPU: generic
  • Submit Date: 2014-05-08
  • Updated Date: 2017-05-17
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7 JDK 8
5.0u75Resolved 6u85Resolved 7u55Resolved 8u20 b20Resolved
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
2014-10-02

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

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