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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • tbd
    • Affects Version/s: 8
    • Component/s: 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.

            Assignee:
            Chris Hegarty
            Reporter:
            Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: