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

Hotspot agent use of sun.boot.class.path needs to be updated for Jigsaw

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • Resolved In Build:
      b115

      Description

      The system property sun.boot.class.path will not be available in JDK 9. The Hotspot agent has 3 uses of this property in the following files that should be reviewed and potentially removed.

      src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/jdi/VirtualMachineImpl.java: return getPath("sun.boot.class.path");

      src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/JSJavaVM.java: return vm.getSystemProperty("sun.boot.class.path");

      src/jdk.hotspot.agent/test/jdi/runsa.sh: -Dsun.boot.class.path=$jdk/classes \

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsamersoff Dmitriy Samersoff
                Reporter:
                lfoltan Lois Foltan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: