It appears that the changes to the quoting rules that were part of the putback for 6668033 have broken the Bugster application on Windows. Bugster specifies a system property whose value is a quoted string with spaces in it and it appears that one of the words in this string is being misconstrued as the main class.
src/share/bin/java.c in the j2se workspace was modified (see the attached file) to print out the main class in its error message. The output is
Could not find the main class: query. Program will exit.
If http://bugster.central.sun.com/bugster.jnlp is saved to the local disk and examined, one can see that the value for the system property "QueryResult.WarningMessage" contains the string "query".
The debugging techniques used to track this down were:
- Modifying java.c as above.
- Setting the environment variable JAVAWS_TRACE_NATIVE to 1.
- Turning on tracing and logging in the Java Control Panel, and setting deployment.trace.level=all in C:\Documents and Settings\username\Application Data\Sun\Java\Deployment\deployment.properties .
Then bugster.jnlp was saved to the local disk and executed. For some reason, running javaws.exe against http://bugster.sfbay.sun.com/bugster.jnlp does not reproduce the problem.
The logs in C:\Documents and Settings\username\Application Data\Sun\Java\Deployment\log\ (javaws*.trace) were examined. Toward the end of the log one can see the values for various command line arguments, in particular jnlpx.vmargs, which is hypothesized to be the problem argument.