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

(spec) System.{load, loadLibrary, mapLibraryName} throw NPE when passed null

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b51
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: viR10068 Date: 04/23/2004


      The spec says nothing about null parameters for the methods:
      java.lang.System.load(String)
      java.lang.System.loadLibrary(String libname)
      java.lang.System.mapLibraryName(String libname)

      But the RI (for example, jdk1.5.0-b47) throws java.lang.NullPointerException
      when calling java.lang.System.load(null).

      This behavior should be specified or RI should be fixed.

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            iris Iris Clark
            Reporter:
            vivsunw Viv Viv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: