United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6888203 plugin doesn't add awt.warmup property when launches client VM
6888203 : plugin doesn't add awt.warmup property when launches client VM

Details
Type:
Bug
Submit Date:
2009-10-05
Status:
Closed
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2010-01-08
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u18
Fixed Versions:
6u18

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

Description
for for 6867515 added "early" Direct3D initialization.
To turn on the feature "-Dsun.awt.warmup=true" JVM property should be specified.
Due a bug in the fix plugin doesn't add the property starting JVM

                                    

Comments
SUGGESTED FIX

/deploy/src/plugin/share/classes/sun/plugin2/main/server/JVMManager.java
***************
*** 892,898 ****
         addJavaExtDirsOption(params);
         addXToolkitOption(params, info.getProductVersion());
         addUIElementOption(params);
-         parameters.addInternalArgument("-Dsun.awt.warmup=true");
         if (userJPIProfile != null) {
             // Pass along the USER_JPI_PROFILE setting as the
             // javaplugin.user.profile system property so the attached
--- 892,898 ----
         addJavaExtDirsOption(params);
         addXToolkitOption(params, info.getProductVersion());
         addUIElementOption(params);
+         params.addInternalArgument("-Dsun.awt.warmup=true");
         if (userJPIProfile != null) {
             // Pass along the USER_JPI_PROFILE setting as the
             // javaplugin.user.profile system property so the attached
                                     
2009-10-05
EVALUATION

Fix the way property is passed.
                                     
2009-10-05



Hardware and Software, Engineered to Work Together