8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9
authorrobm
Mon, 30 Nov 2015 17:37:17 +0000
changeset 34108 671dd84efa14
parent 34107 6f941d693c81
child 34109 1a2876259a91
8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9 Reviewed-by: alanb, simonis
make/CompileJavaModules.gmk
--- a/make/CompileJavaModules.gmk	Mon Nov 30 08:52:25 2015 -0800
+++ b/make/CompileJavaModules.gmk	Mon Nov 30 17:37:17 2015 +0000
@@ -56,6 +56,14 @@
   java.base_EXCLUDE_FILES += sun/nio/fs/GnomeFileTypeDetector.java
 endif
 
+ifneq ($(filter solaris macosx linux windows,$(OPENJDK_TARGET_OS)), )
+  java.base_EXCLUDE_FILES += \
+      sun/nio/ch/AbstractPollSelectorImpl.java \
+      sun/nio/ch/PollSelectorImpl.java \
+      sun/nio/ch/PollSelectorProvider.java \
+      #
+endif
+
 ifneq ($(OPENJDK_TARGET_OS), solaris)
   java.base_EXCLUDE_FILES += \
       SolarisLoginModule.java \
@@ -72,8 +80,6 @@
 
 ifeq ($(OPENJDK_TARGET_OS), windows)
   java.base_EXCLUDE_FILES += \
-      sun/nio/ch/AbstractPollSelectorImpl.java \
-      sun/nio/ch/PollSelectorProvider.java \
       sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
       #
 endif