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

Update class loading mechanism according to the documentation in the ObjectView.createComponent() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 20
    • 9
    • client-libs

      ----------------------------------
      The 1.2 implementation matched the docs :-

      Class docClass = getDocument().getClass();
      ClassLoader loader = docClass.getClassLoader();
      if (loader != null) { klass = loader.loadClass(classname);
      } else{ klass = Class.forName(classname); }
      return klass;


      It appears to have diverged with these two changes
      https://bugs.openjdk.java.net/browse/JDK-4247726
      https://bugs.openjdk.java.net/browse/JDK-4452042
      ----------------------------------

            psadhukhan Prasanta Sadhukhan
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: