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>