|
Quick Lists
|
|
Bug ID:
|
6810893
|
|
Votes
|
0
|
|
Synopsis
|
JVM args always mismatch on Vista
|
|
Category
|
java_plugin:plugin2
|
|
Reported Against
|
|
|
Release Fixed
|
6u14(b04)
|
|
State
|
11-Closed,
Unverified,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
27-FEB-2009
|
|
Description
|
On Windows Vista, a JNLP applet is always "relaunched" due to mismatch JVM arguments although the applet didn't specify any new JVM arguments.
The "relaunch" has a side-effect of performing the following steps twice in the java plugin code which may have an impact on startup performance:
handleMessageStartApplet
StartAppletRunner
Plugin2Manager.start
AppletExecutionRunnable
Posted Date : 2009-02-27 00:05:51.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
On windows Vista, the jvm arguments are being passed via the "-Dsun.plugin2.jvm.args" system property from the server side to the jp2launcher which launches the java.exe.
During JVMParameters.parseFromSystemProperty, the following arguments are being added as trusted arguments although they should really be considered as internal.
-D__jvm_launched=12576220371 -Djava.class.path=D:\progra~1\java\jre6\classes
When searching for a jvm to launch the applet, the match always fails due to the presence of the above arguments and causing the client to send a message to the server to relaunch the applet.
A fix is to add another separator argument ("---") to separate the internal and trusted argument in additional to the existing separator argument ("--") which separates the trusted and other arguments. In parseFromSystemPropertyImpl, we don't add the internal ones to the args.
Posted Date : 2009-02-27 03:00:33.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |