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

Utility.loadClassOfType() results in Null Pointer Exceptions in some cases.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.1
    • other-libs
    • None
    • rc1
    • sparc
    • solaris_2.5
    • Not verified

        The call to Util.loadClassOfType() is currently
         resultClass = loadClassOfType(stubName, codebase,
                       narrowFrom.getClass().getClassLoader(), narrowTo,
                       narrowTo.getClass().getClassLoader());

              Should be changed to
          resultClass = loadClassOfType(stubName, codebase,
                       narrowFrom.getClass().getClassLoader(), narrowTo,
                       narrowTo.getClassLoader());

        Because narrowTo.getClass().getClassLoader() results in Null in some cases.
         

              hputtaswsunw Hemanth Puttaswamy (Inactive)
              hputtaswsunw Hemanth Puttaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: