JDK-8031408 : [docs] Release note JDK-8030961
  • Type: Bug
  • Component: docs
  • Sub-Component: release_notes
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2014-01-08
  • Updated: 2014-01-16
  • Resolved: 2014-01-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Relates :  
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>
Comments
Added release note to Known Issues section and linked to 8030961
15-01-2014