hg: macosx-port/macosx-port/jdk: Fixed MACOSX_PORT-125: $DISPLAY should never have to be set when using the CToolki
alexander.zuev at oracle.com
alexander.zuev at oracle.com
Mon Jul 4 06:28:36 PDT 2011
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
More information about the macosx-port-dev
mailing list