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

Can not launch Bugster with current nightly build

    XMLWordPrintable

Details

    • b21
    • generic
    • windows
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                sgothelsunw Sven Gothel (Inactive)
                kbr Kenneth Russell (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: