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

[docs] Release note JDK-8030961

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: docs

      Description

      The solution for JDK-8030961 needs to be documented as follows:

      <Release Note Text>
      To overcome an incompatible change in the VisualStudio 2010 with setargv.obj, the java launcher
      uses its own argument parser/processor as outlined in the Release notes for JDK-7146424 in JDK 7.

      A side effect of the above fix, is that, the escaping of quotes and spaces must be done
      according to the Windows specification. The right way right way to quote a command line
      containing spaces in a directory is as follows:
      "c:\Program Files\Java\jdk1.8.0\bin\java.exe" -cp "c:\Some Dir\" SomeMain
      or
      c:\\"Program Files\"\Java\jdk1.8.0\bin\java.exe -cp "c:\Some Dir\" SomeMain
      or short filename for non-8dot3 format files obtained from dir /X
      c:\Progra~1\Java\jdk1.8.0\bin\java.exe -cp "c:\Some Dir\" SomeMain

      The first example is the correct way to use the quotes, and this is how the Windows command
      interpreter (cmd.exe) auto completes user commands and thus quotes arguments.
      </Release Note Text>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgordon Joni Gordon (Inactive)
                Reporter:
                ksrini Kumar Srinivasan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: