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

regression: NPE in CloseableURLClassLoader

    Details

    • Type: Backport
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6u27
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b03
    • Verification:
      Verified

      Description

      When running bigApp application, the following Exception was thrown:

      java.io.IOException: cannot close class loader
              at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:60)
              at com.sun.tools.javac.processing.JavacProcessingEnvironment.close(JavacProcessingEnvironment.java:916)
              at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:738)
              at com.sun.tools.javac.main.Main.compile(Main.java:353)
              at com.sun.tools.javac.main.Main.compile(Main.java:279)
              at com.sun.tools.javac.main.Main.compile(Main.java:270)
              at com.sun.tools.javac.Main.compile(Main.java:69)
              at com.sun.tools.javac.Main.main(Main.java:54)
      Caused by: java.lang.NullPointerException
              at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:56)
              ... 7 more
      Approximately 1500 Libraries tests fails due to this bug.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjh James Holmlund (Inactive)
                Reporter:
                mcimadamore Maurizio Cimadamore
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: