JDK-4379831 : Please launch new VM for -Dsun.java2d.noddraw=true
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2000-10-17
  • Updated: 2002-11-19
  • Resolved: 2002-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description
If an application requests the following property:

-Dsun.java2d.noddraw=true

Java Web Start should launch it in a new VM with that property set. This will
allow applications which use OpenGL on Windows (which is fundamentally
incompatible with DirectDraw, otherwise used in the 2D subsystem) to work.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b08
31-08-2004

SUGGESTED FIX For 1.0.1_02 release, fix in native code by parsing properties and if specific sun.java2d.noddraw property is set to XXX, pass it on to vm with -Dsun.java2d.noddraw=XXX. For more generic fix in Java Wbe Start 1.2, create list of approved properties (cleared by security team) that will be passed on to VM from native code on startup. Also pass these to any secondary VM's launcher from the java code. Also change the AppPolicy.java to allow reading and writing the approved list of properties.
31-08-2004

EVALUATION We can fix in launcher.c as per requested. ###@###.### 2001-11-30 This bug was only partially fixed in 1.0.1_02, see suggested fix. A little more needs to be done for 1.3, namely passing on the aux args -DXXX to subsequenbt double launches of java. This remaining part is a bug, not an rfe so am changing to bug for mantis. ###@###.### 2002-07-22
22-07-2002