Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042194

ORB.init() always uses systemclassloader to load org.omg.CORBA.ORBSingletonClass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u55
    • other-libs
    • x86_64
    • linux

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      I cannot find proper subcategory for this issue.

      We have custom CORBA implementation and specify org.omg.CORBA.ORBSingletonClass system property.
      Our CORBA implemetation classes aren't loaded by system classloader.

      In JDK 7u51 or earlier, we can call ORB.init() to obtain ORB singleton instance.
      In 7u55, we cannot obtain singleton this way and ORB.init() throws ClassNotFoundException.

      So, I read org.omg.CORBA.ORB.java source code and I found that classloader to load ORB Singleton class has been changed to system classloader from thread's context classloader.

      Why do you change classloader? I want you to return to old behavior or create compatibility system property.

      REGRESSION. Last worked in version 7u51


      REPRODUCIBILITY :
      This bug can be reproduced always.

            msheppar Mark Sheppard
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: