hg: macosx-port/macosx-port/jdk: Fixed MACOSX_PORT-125: $DISPLAY should never have to be set when using the CToolki
Mike Swingler
swingler at apple.com
Mon Jul 4 09:08:51 PDT 2011
On Jul 4, 2011, at 6:28 AM, alexander.zuev at oracle.com wrote:
> Changeset: 075ea8de2109
> Author: kizune
> Date: 2011-07-04 17:27 +0400
> URL: http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/075ea8de2109
>
> Fixed MACOSX_PORT-125: $DISPLAY should never have to be set when using the CToolki
> There is a specific rule in java.awt.GraphicsEnvironment.getHeadlessProperty() method that
> says which systems has to have DISPLAY variable set not to be treated as 'headless'.
> Max OS X is one of them. This is not right - CToolkit does not need this variable.
>
> ! src/share/classes/java/awt/GraphicsEnvironment.java
Shouldn't this fix be a little more granular? $DISPLAY is required when using the X11 toolkit on Mac OS X, just not when using CToolkit.
Regards,
Mike Swingler
Java Engineering
Apple Inc.
More information about the macosx-port-dev
mailing list