jdk/makefiles/CompileJavaClasses.gmk
changeset 14231 a0c23c1c010f
parent 13702 efd6a05935b2
child 14344 a5537423264b
child 14343 8e4626a27efe
--- a/jdk/makefiles/CompileJavaClasses.gmk	Wed Jul 05 18:26:51 2017 +0200
+++ b/jdk/makefiles/CompileJavaClasses.gmk	Fri Oct 26 14:23:29 2012 -0700
@@ -76,9 +76,14 @@
 	SolarisAclFileAttributeView.java \
 	SolarisLoginModule.java \
 	SolarisSystem.java \
+        sun/nio/ch/DevPollArrayWrapper.java \
+        sun/nio/ch/DevPollSelectorImpl.java \
+        sun/nio/ch/DevPollSelectorProvider.java \
 	sun/nio/ch/EventPortSelectorImpl.java \
 	sun/nio/ch/EventPortSelectorProvider.java \
 	sun/nio/ch/EventPortWrapper.java \
+        sun/nio/ch/SolarisAsynchronousChannelProvider.java \
+        sun/nio/ch/SolarisEventPort.java \
 	sun/tools/attach/SolarisAttachProvider.java \
 	sun/tools/attach/SolarisVirtualMachine.java
 endif
@@ -105,18 +110,27 @@
 
 ifneq ($(OPENJDK_TARGET_OS),linux)
     EXFILES+=sun/tools/attach/LinuxAttachProvider.java \
-	sun/tools/attach/LinuxVirtualMachine.java \
-	sun/nio/fs/LinuxDosFileAttributeView.java \
-	sun/nio/fs/LinuxFileStore.java \
-	sun/nio/fs/LinuxFileSystem.java \
-	sun/nio/fs/LinuxFileSystemProvider.java \
-	sun/nio/fs/LinuxNativeDispatcher.java \
-	sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
-	sun/nio/fs/LinuxWatchService.java
+	     sun/tools/attach/LinuxVirtualMachine.java \
+             sun/nio/ch/EPoll.java \
+             sun/nio/ch/EPollArrayWrapper.java \
+             sun/nio/ch/EPollPort.java \
+             sun/nio/ch/EPollSelectorImpl.java \
+             sun/nio/ch/EPollSelectorProvider.java \
+             sun/nio/ch/LinuxAsynchronousChannelProvider.java \
+	     sun/nio/fs/LinuxDosFileAttributeView.java \
+	     sun/nio/fs/LinuxFileStore.java \
+	     sun/nio/fs/LinuxFileSystem.java \
+	     sun/nio/fs/LinuxFileSystemProvider.java \
+	     sun/nio/fs/LinuxNativeDispatcher.java \
+	     sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
+	     sun/nio/fs/LinuxWatchService.java
 endif
 
 ifneq ($(OPENJDK_TARGET_OS),macosx)
-    EXFILES+=sun/nio/fs/BsdFileStore.java \
+    EXFILES+=sun/nio/ch/BsdAsynchronousChannelProvider.java \
+             sun/nio/ch/KQueue.java \
+             sun/nio/ch/KQueuePort.java \
+             sun/nio/fs/BsdFileStore.java \
 	     sun/nio/fs/BsdFileSystem.java \
              sun/nio/fs/BsdFileSystemProvider.java \
              sun/nio/fs/BsdNativeDispatcher.java \
@@ -147,51 +161,48 @@
 endif
 
 ifneq ($(OPENJDK_TARGET_OS), macosx)
-#
-# Not in rt.jar on solaris and linux...(windows not checked)
-#     in rt.jar on macosx ??
-EXFILES+=sun/awt/X11/ScreenFormat.java \
-         sun/awt/X11/XArc.java \
-         sun/awt/X11/XChar2b.java \
-         sun/awt/X11/XCharStruct.java \
-         sun/awt/X11/XClassHint.java \
-         sun/awt/X11/XComposeStatus.java \
-         sun/awt/X11/XExtCodes.java \
-         sun/awt/X11/XFontProp.java \
-         sun/awt/X11/XFontSetExtents.java \
-         sun/awt/X11/XFontStruct.java \
-         sun/awt/X11/XGCValues.java \
-         sun/awt/X11/XHostAddress.java \
-         sun/awt/X11/XIMCallback.java \
-         sun/awt/X11/XIMHotKeyTrigger.java \
-         sun/awt/X11/XIMHotKeyTriggers.java \
-         sun/awt/X11/XIMPreeditCaretCallbackStruct.java \
-         sun/awt/X11/XIMPreeditDrawCallbackStruct.java \
-         sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java \
-         sun/awt/X11/XIMStatusDrawCallbackStruct.java \
-         sun/awt/X11/XIMStringConversionCallbackStruct.java \
-         sun/awt/X11/XIMStringConversionText.java \
-         sun/awt/X11/XIMStyles.java \
-         sun/awt/X11/XIMText.java \
-         sun/awt/X11/XIMValuesList.java \
-         sun/awt/X11/XImage.java \
-         sun/awt/X11/XKeyboardControl.java \
-         sun/awt/X11/XKeyboardState.java \
-         sun/awt/X11/XOMCharSetList.java \
-         sun/awt/X11/XOMFontInfo.java \
-         sun/awt/X11/XOMOrientation.java \
-         sun/awt/X11/XPoint.java \
-         sun/awt/X11/XRectangle.java \
-         sun/awt/X11/XSegment.java \
-         sun/awt/X11/XStandardColormap.java \
-         sun/awt/X11/XTextItem.java \
-         sun/awt/X11/XTextItem16.java \
-         sun/awt/X11/XTextProperty.java \
-         sun/awt/X11/XTimeCoord.java \
-         sun/awt/X11/XWindowChanges.java \
-         sun/awt/X11/XdbeSwapInfo.java \
-         sun/awt/X11/XmbTextItem.java \
-         sun/awt/X11/XwcTextItem.java
+    EXFILES+=sun/awt/X11/ScreenFormat.java \
+             sun/awt/X11/XArc.java \
+             sun/awt/X11/XChar2b.java \
+             sun/awt/X11/XCharStruct.java \
+             sun/awt/X11/XClassHint.java \
+             sun/awt/X11/XComposeStatus.java \
+             sun/awt/X11/XExtCodes.java \
+             sun/awt/X11/XFontProp.java \
+             sun/awt/X11/XFontSetExtents.java \
+             sun/awt/X11/XFontStruct.java \
+             sun/awt/X11/XGCValues.java \
+             sun/awt/X11/XHostAddress.java \
+             sun/awt/X11/XIMCallback.java \
+             sun/awt/X11/XIMHotKeyTrigger.java \
+             sun/awt/X11/XIMHotKeyTriggers.java \
+             sun/awt/X11/XIMPreeditCaretCallbackStruct.java \
+             sun/awt/X11/XIMPreeditDrawCallbackStruct.java \
+             sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java \
+             sun/awt/X11/XIMStatusDrawCallbackStruct.java \
+             sun/awt/X11/XIMStringConversionCallbackStruct.java \
+             sun/awt/X11/XIMStringConversionText.java \
+             sun/awt/X11/XIMStyles.java \
+             sun/awt/X11/XIMText.java \
+             sun/awt/X11/XIMValuesList.java \
+             sun/awt/X11/XImage.java \
+             sun/awt/X11/XKeyboardControl.java \
+             sun/awt/X11/XKeyboardState.java \
+             sun/awt/X11/XOMCharSetList.java \
+             sun/awt/X11/XOMFontInfo.java \
+             sun/awt/X11/XOMOrientation.java \
+             sun/awt/X11/XPoint.java \
+             sun/awt/X11/XRectangle.java \
+             sun/awt/X11/XSegment.java \
+             sun/awt/X11/XStandardColormap.java \
+             sun/awt/X11/XTextItem.java \
+             sun/awt/X11/XTextItem16.java \
+             sun/awt/X11/XTextProperty.java \
+             sun/awt/X11/XTimeCoord.java \
+             sun/awt/X11/XWindowChanges.java \
+             sun/awt/X11/XdbeSwapInfo.java \
+             sun/awt/X11/XmbTextItem.java \
+             sun/awt/X11/XwcTextItem.java
 endif
 
 # Exclude another implicitly not included file.
@@ -229,31 +240,24 @@
     EXFILES+=sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java
 endif
 
-ifdef DISABLE_NIMBUS
-    # TODO: need to check when it happens
-    # Exclude nimus if disabled
-    EXCLUDES+=	javax/swing/plaf/nimbus \
-		com/sun/java/swing/plaf/nimbus
-else
-#
-# These are never put into rt.jar
-#
-EXFILES+=  javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
-           javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
-           javax/swing/plaf/nimbus/ScrollBarPainter.java \
-           javax/swing/plaf/nimbus/SliderPainter.java \
-           javax/swing/plaf/nimbus/SpinnerPainter.java \
-           javax/swing/plaf/nimbus/SplitPanePainter.java \
-           javax/swing/plaf/nimbus/TabbedPanePainter.java
-endif
+# Exclude nimbus files from rt.jar
+EXFILES+=javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
+				 javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
+				 javax/swing/plaf/nimbus/ScrollBarPainter.java \
+				 javax/swing/plaf/nimbus/SliderPainter.java \
+				 javax/swing/plaf/nimbus/SpinnerPainter.java \
+				 javax/swing/plaf/nimbus/SplitPanePainter.java \
+				 javax/swing/plaf/nimbus/TabbedPanePainter.java
 
 # Acquire a list of files that should be copied straight over to the classes.
 include CopyIntoClasses.gmk
 # Now we have COPY_PATTERNS, COPY_FILES and COPY_EXTRA
 
 ifndef OPENJDK
-    CLOSED_SRC_DIRS:=$(JDK_TOPDIR)/src/closed/share/classes \
-		     $(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes
+    CLOSED_SRC_DIRS:=$(JDK_TOPDIR)/src/closed/share/classes
+    ifneq ($(OPENJDK_TARGET_OS_API_DIR),windows)
+      CLOSED_SRC_DIRS += $(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes
+    endif
 endif
 
 MACOSX_SRC_DIRS :=
@@ -294,7 +298,6 @@
 		     $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes \
 		     $(MACOSX_SRC_DIRS) \
 		     $(JDK_OUTPUTDIR)/gensrc \
-		     $(JDK_OUTPUTDIR)/gensrc_swing/javax/swing/beaninfo \
 		     $(CLOSED_SRC_DIRS),\
 		INCLUDES:=$(JDK_USER_DEFINED_FILTER),\
 		EXCLUDES:=$(EXCLUDES),\
@@ -326,7 +329,7 @@
 
 # Set prereqs to the java files since make doesn't know about the class files. Add BUILD_JDK
 # as an order only dependency to avoid race with the java compilation.
-$(JDK_OUTPUTDIR)/classes/_the.jdk.base.headers: $(JDK_BASE_HEADER_JAVA_FILES) | $(BUILD_JDK)
+$(JDK_OUTPUTDIR)/gensrc_headers/_the.jdk.base.headers: $(JDK_BASE_HEADER_JAVA_FILES) | $(BUILD_JDK)
 	$(ECHO) Generating headers for jdk base classes
 	$(JAVAH) -bootclasspath $(JDK_OUTPUTDIR)/classes -d $(JDK_OUTPUTDIR)/gensrc_headers \
 		$(JDK_BASE_HEADER_CLASSES)
@@ -416,6 +419,6 @@
 
 # copy with -a to preserve timestamps so dependencies down the line aren't messed up
 all: $(BUILD_JDK) $(JARS) $(COPY_EXTRA) $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \
-	$(JDK_OUTPUTDIR)/classes/_the.jdk.base.headers
+	$(JDK_OUTPUTDIR)/gensrc_headers/_the.jdk.base.headers
 
 .PHONY: all