# HG changeset patch # User ngthomas # Date 1397627822 25200 # Node ID db8b6b7d25c0d98d4413a7a7469a8cc1ef6d16b7 # Parent 0b88e9702fc51d9ca76f3ed7ed8c7c43151b360a# Parent ebade3f50c1f2762418817d7209d371918fbe7ac Merge diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/CompileDemos.gmk --- a/jdk/make/CompileDemos.gmk Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/CompileDemos.gmk Tue Apr 15 22:57:02 2014 -0700 @@ -176,7 +176,6 @@ $(eval $(call SetupDemo,JTop,management,,JTop,,,README*)) $(eval $(call SetupDemo,MemoryMonitor,management,,MemoryMonitor,,,README*)) $(eval $(call SetupDemo,VerboseGC,management,,VerboseGC,,,README*)) -$(eval $(call SetupDemo,zipfs,nio,,,,,README* *.java,,,,Main-Class: \n)) ifndef OPENJDK $(eval $(call SetupDemo,Laffy,jfc,,,,closed/,*)) diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/CopyFiles.gmk --- a/jdk/make/CopyFiles.gmk Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/CopyFiles.gmk Tue Apr 15 22:57:02 2014 -0700 @@ -158,15 +158,6 @@ ########################################################################################## -CONTENT_TYPES_SRC = $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/lib - -$(LIBDIR)/content-types.properties: $(CONTENT_TYPES_SRC)/content-types.properties - $(call install-file) - -COPY_FILES += $(LIBDIR)/content-types.properties - -########################################################################################## - CALENDARS_SRC := $(JDK_TOPDIR)/src/share/lib $(LIBDIR)/calendars.properties: $(CALENDARS_SRC)/calendars.properties diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/CopyIntoClasses.gmk --- a/jdk/make/CopyIntoClasses.gmk Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/CopyIntoClasses.gmk Tue Apr 15 22:57:02 2014 -0700 @@ -26,7 +26,7 @@ # Copy icu and _dict files used by the text break iterator COPY_PATTERNS := .icu _dict .dat _options .js aliasmap .spp .wav .css \ - .png .gif .xml .dtd .txt oqlhelp.html + .png .gif .xml .dtd .txt oqlhelp.html content-types.properties # These directories should not be copied at all EXCLUDES += \ diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/CreateJars.gmk --- a/jdk/make/CreateJars.gmk Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/CreateJars.gmk Tue Apr 15 22:57:02 2014 -0700 @@ -160,11 +160,13 @@ javax/swing/JWindowBeanInfo.class \ javax/swing/SwingBeanInfoBase.class \ javax/swing/text/JTextComponentBeanInfo.class \ + jdk/nio/zipfs \ META-INF/services/com.sun.jdi.connect.Connector \ META-INF/services/com.sun.jdi.connect.spi.TransportService \ META-INF/services/com.sun.tools.attach.spi.AttachProvider \ META-INF/services/com.sun.tools.xjc.Plugin \ META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ + META-INF/services/java.nio.file.spi.FileSystemProvider \ org/relaxng/datatype \ sun/awt/HKSCS.class \ sun/awt/motif/X11GB2312.class \ @@ -356,6 +358,16 @@ ########################################################################################## +$(eval $(call SetupArchive,BUILD_ZIPFS_JAR, , \ + SRCS := $(JDK_OUTPUTDIR)/classes, \ + INCLUDES := jdk/nio/zipfs, \ + EXTRA_FILES := META-INF/services/java.nio.file.spi.FileSystemProvider, \ + JAR := $(IMAGES_OUTPUTDIR)/lib/ext/zipfs.jar, \ + SKIP_METAINF := true, \ + CHECK_COMPRESS_JAR := true)) + +########################################################################################## + ifndef OPENJDK ifeq ($(ENABLE_JFR), true) $(eval $(call SetupArchive,BUILD_JFR_JAR, , \ @@ -660,11 +672,6 @@ ########################################################################################## -$(IMAGES_OUTPUTDIR)/lib/ext/zipfs.jar: $(JDK_OUTPUTDIR)/demo/nio/zipfs/zipfs.jar - $(install-file) - -########################################################################################## - # This file is imported from hotspot in Import.gmk. Copying it into images/lib so that # all jars can be found in one place when creating images in Images.gmk. It needs to be # done here so that clean targets can be simple and accurate. diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/data/jdwp/jdwp.spec --- a/jdk/make/data/jdwp/jdwp.spec Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/data/jdwp/jdwp.spec Tue Apr 15 22:57:02 2014 -0700 @@ -1079,7 +1079,7 @@ (Command InvokeMethod=3 "Invokes a static method. " "The method must be member of the class type " - "or one of its superclasses, superinterfaces, or implemented interfaces. " + "or one of its superclasses. " "Access control is not enforced; for example, private " "methods can be invoked." "
" diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/make/profile-includes.txt --- a/jdk/make/profile-includes.txt Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/make/profile-includes.txt Tue Apr 15 22:57:02 2014 -0700 @@ -56,7 +56,6 @@ $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/Xusage.txt \ calendars.properties \ classlist \ - content-types.properties \ currency.data \ ext/localedata.jar \ ext/meta-index \ diff -r 0b88e9702fc5 -r db8b6b7d25c0 jdk/src/macosx/classes/sun/font/CFontManager.java --- a/jdk/src/macosx/classes/sun/font/CFontManager.java Mon Apr 14 12:59:50 2014 -0700 +++ b/jdk/src/macosx/classes/sun/font/CFontManager.java Tue Apr 15 22:57:02 2014 -0700 @@ -27,6 +27,8 @@ import java.awt.*; import java.io.File; +import java.security.AccessController; +import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; @@ -38,6 +40,7 @@ import sun.awt.FontConfiguration; import sun.awt.HeadlessToolkit; +import sun.misc.ThreadGroupUtils; import sun.lwawt.macosx.*; public class CFontManager extends SunFontManager { @@ -215,24 +218,19 @@ }); } }; - java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction