JDK-8074921 : OS X build broken by reference to XToolkit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-03-10
  • Updated: 2015-09-29
  • Resolved: 2015-03-11
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.
JDK 8 JDK 9
8u60Fixed 9 b56Fixed
Related Reports
Relates :  
Description
The build fails with this message :
jdk/src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java:34: error: package sun.awt.X11 does not exist
import sun.awt.X11.XToolkit;

It appears to be introduced by this changeset :

http://hg.openjdk.java.net/jdk9/client/jdk/rev/b7739fc3663f
We need to revert this ASAP as we cannot start a PIT build.

Comments
@Alexander: Note that now GTK look and feel depends from the awt_lock from the X11 toolkit, which should not be built on osx. I assume that gtk L&F should not be built also(+UnixToolkit). Please double check that.
11-03-2015

http://mail.openjdk.java.net/pipermail/awt-dev/2015-March/009022.html
11-03-2015