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

jcmd VM.system_properties gives unusable paths on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 15
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14
    • OS:
      windows

      Description

      Example:
      ...
      java.vendor.url.bug=https\://bugreport.java.com/bugreport/
      java.io.tmpdir=C\:\\Users\\mgronlun\\AppData\\Local\\Temp\\
      java.version=13-internal
      user.dir=D\:\\temp\\SPECjbb2005\\SPECjbb2005
      ...

      I can't copy and use any of these as is into the Windows Explorer or the browser...

      Double-slash qualifications should probably be stripped before rendering.

      D\:

      needs to be

      D:\

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cito Chihiro Ito
              Reporter:
              mgronlun Markus Grönlund
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: