<AWT Dev> [7u4] Review request for 7147435: closed/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh failed since 7u4b11
anthony.petrov at oracle.com
Mon Feb 27 06:30:16 PST 2012
Please review a fix for
This bug is a regression of 7124511 fixed for the JDK Mac Port . With
that fix the code setting the awt.toolkit and java.awt.graphicsenv
system properties has been removed from JNI_OnLoad() of libawt.so.
Actually, the test WrappedToolkitTest.sh relies on the ability to
override the default toolkit by means of setting the AWT_TOOLKIT
environment variable, and because of the removal the test has failed.
With the fix for 7147435 I'm restoring the removed parts. In order to
not break the fix for 7124511, I'm setting the system properties only if
the XToolkit has been requested explicitly.
More information about the awt-dev