# HG changeset patch # User prr # Date 1426619698 25200 # Node ID 2f05f44dfe011227269aeb8d250ea4549e52eb58 # Parent d3148063d22506bba0f5c3197e305e892038eb0c 8075277: JDK is still building X11 related Java files on OSX Reviewed-by: ihse, erikj, serb diff -r d3148063d225 -r 2f05f44dfe01 make/CompileJavaModules.gmk --- a/make/CompileJavaModules.gmk Mon Mar 16 17:59:09 2015 +0100 +++ b/make/CompileJavaModules.gmk Tue Mar 17 12:14:58 2015 -0700 @@ -144,9 +144,19 @@ ifeq ($(OPENJDK_TARGET_OS), macosx) # exclude all X11 on Mac. - java.desktop_EXCLUDES += sun/awt/X11 + java.desktop_EXCLUDES += \ + sun/awt/X11 \ + sun/java2d/x11 \ + sun/java2d/jules \ + sun/java2d/xr \ + com/sun/java/swing/plaf/gtk \ + # java.desktop_EXCLUDE_FILES += \ - $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/java2d/BackBufferCapsProvider.java \ + $(wildcard $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/java2d/*.java) \ + $(wildcard $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/java2d/opengl/*.java) \ + $(wildcard $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/awt/*.java) \ + $(wildcard $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/awt/motif/*.java) \ + $(wildcard $(JDK_TOPDIR)/src/java.desktop/unix/classes/sun/font/*.java) \ # else # TBD: figure out how to eliminate this long list