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

ClassLoader.getSystemResource(null) throws NPE

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      ClassLoader.getSystemResource Documentation doesn't handle null input, maybe clarifying in the documentation will be helpful


      ---------- BEGIN SOURCE ----------
      public class Loader {
          public static void main(String[] args) throws Exception {
                  ClassLoader.getSystemResource(null);
          }
      }
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: