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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: