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

System property user.dir should not be changed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description

      if user defines -Duser.dir like "/home/a/b/c/",
      new File("./a").getCanonicalPath
      will crash in processing double '/'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                luchsh Jonathan Lu
                Reporter:
                luchsh Jonathan Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: