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

Special property jdk.boot.class.path.append should not default to empty string

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 13
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Understanding:
      Fix Understood
    • Introduced In Version:
      9

      Description

      The background for this issue, and the test case, is in JDK-8224791.

      jdk.boot.class.path.append is only readable via JVM TI GetSystemProperty function (not System::getProperty). It is not set by default consistent with other VM properties e.g. jdk.module.path. It is only available if -Xbootclasspath/a option is set at startup or JVM TI AppendBootstrapClassLoaderSearch function is called during onLoad phase.

      Defaulting to the empty string is a bug and GetSystemProperty("jdk.boot.class.path.append", &value) should return JVMTI_ERROR_NOT_AVAILABLE if not set.

      A CSR request will need to be filed for this behaviour change to re-align with the intended specification.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lfoltan Lois Foltan
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: