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

URLClassLoader constructors and newInstance() should throw NPE if URL array has a null element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • tbd
    • 8
    • core-libs

      Currently a URLClassLoader instance will be successfully constructed if the URL array contains a null element but a NullPointerException will subsequently occur, e.g., in findClass() if the URLClassLoader is actually used.

            chegar Chris Hegarty
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: