Clarify if java.class.path can be undefined

XMLWordPrintable

    • b01
    • Not verified

      The spec for System.getProperties
      https://docs.oracle.com/javase/9/docs/api/java/lang/System.html#getProperties--
      requires that java.class.path be always defined.

      But https://docs.oracle.com/javase/9/docs/api/java/lang/ClassLoader.html says
      """
      The class path used by the built-in system class loader is determined by the system property "java.class.path" during early initialization of the VM. If the system property is not defined,
      """

      which appears to be contradictory.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: