Review request for MACOSX_PORT-774: NullPointerException in strange circumstances (with error message: 'CFMessagePort: bootstrap_register(): failed 1100...')
Anthony Petrov
anthony.petrov at oracle.com
Tue Dec 20 07:06:26 PST 2011
Hello,
Please review a fix for http://java.net/jira/browse/MACOSX_PORT-774 at:
http://cr.openjdk.java.net/~anthony/x-5-forceHeadless.0/
With this change, if we detect we don't have access to the graphics
server, the AWT headless mode is forced. Actually, this has already been
done in java_props_md/java_props_macosx.c previously, however, the
legacy code in awt_LoadLibrary.c prevented it from working correctly.
Please note: running tests over an SSH connection will force the
headless mode regardless of the logged in user on the console of the
server. This is because OSX reports that the sessionHasGraphicAccess is
missing when running over SSH. Thus, all graphical tests and
applications must be run on the local console only.
--
best regards,
Anthony
More information about the macosx-port-dev
mailing list