/hg/release/icedtea7-forest-2.3/jdk: 20 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Thu Oct 17 16:44:50 PDT 2013
changeset 9a2b43d21270 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=9a2b43d21270
author: coffeys
date: Wed Jun 05 18:39:44 2013 +0100
8015965: (process) Typo in name of property to allow ambiguous commands
Reviewed-by: alanb
changeset 831666d451b2 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=831666d451b2
author: prr
date: Wed Jul 03 14:50:03 2013 -0700
8015144: Performance regression in ICU OpenType Layout library
Reviewed-by: srl, jgodinez
changeset 1dc6f256b3ea in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=1dc6f256b3ea
author: msheppar
date: Thu Jul 11 23:16:26 2013 +0100
8020085: Linux ARM build failure for 7u45
Summary: Amend jdk/make/com/sun/jmx/Makefile to fix 7u45 build failure
Reviewed-by: coffeys, dholmes
changeset 3a309ca34b1e in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=3a309ca34b1e
author: michaelm
date: Mon Jul 15 16:00:57 2013 +0100
8019969: nioNetworkChannelInet6/SetOptionGetOptionTestInet6 test case crashes
Reviewed-by: chegar
changeset 62b609f82191 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=62b609f82191
author: jbachorik
date: Fri Jul 19 16:29:26 2013 +0200
8019584: javax/management/remote/mandatory/loading/MissingClassTest.java failed in nightly against jdk7u45: java.io.InvalidObjectException: Invalid notification: null
Reviewed-by: mchung, sjiang, dfuchs, ahgross
changeset d2bda260474f in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=d2bda260474f
author: jbachorik
date: Mon Jul 29 04:43:41 2013 -0700
8021577: JCK test api/javax_management/jmx_serial/modelmbean/ModelMBeanNotificationInfo/serial/index.html#Input has failed since jdk 7u45 b01
Reviewed-by: alanb, dfuchs, ahgross
changeset 74e96f7edf71 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=74e96f7edf71
author: malenkov
date: Wed Aug 07 16:51:59 2013 +0400
8021969: The index_AccessAllowed jnlp can not load successfully with exception thrown in the log.
Reviewed-by: art, skoivu
changeset aea37f1d4592 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=aea37f1d4592
author: jbachorik
date: Thu Aug 08 19:16:27 2013 +0200
8021360: object not exported" on start of JMXConnectorServer for RMI-IIOP protocol with security manager
Reviewed-by: alanb, ahgross, smarks, coffeys
changeset c5716b37aaa7 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=c5716b37aaa7
author: ksrini
date: Wed Aug 14 10:17:57 2013 -0700
8021355: REGRESSION: Five closed/java/awt/SplashScreen tests fail since 7u45 b01 on Linux, Solaris
Reviewed-by: dholmes, anthony, ahgross, erikj
changeset 4fb7c2f43f80 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=4fb7c2f43f80
author: chegar
date: Fri Aug 09 13:50:13 2013 +0100
8022661: InetAddress.writeObject() performs flush() on object output stream
Reviewed-by: michaelm, alanb
changeset 931e4b56798a in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=931e4b56798a
author: coffeys
date: Fri Sep 06 09:38:10 2013 -0700
8023964: java/io/IOException/LastErrorString.java should be @ignore-d
Reviewed-by: alanb
changeset 584ab21cdb1b in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=584ab21cdb1b
author: sherman
date: Tue Sep 10 15:39:41 2013 -0700
6614237: missing codepage Cp290 at java runtime
Summary: to add cp290 and cp300
Reviewed-by: alanb, coffeys
changeset ffc63f0d1203 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=ffc63f0d1203
author: sherman
date: Thu Sep 12 14:41:14 2013 -0700
8024668: api/java_nio/charset/Charset/index.html#Methods JCK-runtime test fails with 7u45 b11
Summary: to add IBM290 into make/sun/nio/cs/FILES_java.gmk
Reviewed-by: alanb, coffeys
changeset 95df35b314eb in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=95df35b314eb
author: bae
date: Thu Aug 01 00:00:38 2013 +0400
8020983: OutOfMemoryError caused by non garbage collected JPEGImageWriter Instances
Reviewed-by: prr, flar
changeset 728bfc6b1979 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=728bfc6b1979
author: bae
date: Fri Sep 13 19:19:55 2013 +0400
8024697: Fix for 8020983 causes Xcheck:jni warnings
Reviewed-by: prr, jchen
changeset 4f121e8c7e4b in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=4f121e8c7e4b
author: erikj
date: Thu Sep 19 13:32:42 2013 +0200
8023771: when USER_RELEASE_SUFFIX is set in order to add a string to java -version, build number in the bundles names should not be changed to b00
Reviewed-by: dholmes, ihse
changeset ba78cf016157 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=ba78cf016157
author: erikj
date: Mon Sep 23 17:38:35 2013 +0200
8025170: jdk7u51 7u-1-prebuild is failing since 9/19
Reviewed-by: tbell, ihse
changeset f6167ed17dd3 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=f6167ed17dd3
author: dxu
date: Mon May 06 14:17:59 2013 -0700
8003992: File and other classes in java.io do not handle embedded nulls properly
Summary: Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer at redhat.com
Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
changeset 6b5c05cfff7c in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=6b5c05cfff7c
author: dxu
date: Mon Jun 10 11:06:26 2013 -0700
8013827: File.createTempFile hangs with temp file starting with 'com1.4'
8011950: java.io.File.createTempFile enters infinite loop when passed invalid data
Reviewed-by: alanb
changeset 3e7df93144c6 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=3e7df93144c6
author: dxu
date: Fri Sep 27 00:01:04 2013 +0100
8025128: File.createTempFile fails if prefix is absolute path
Reviewed-by: alanb, darcy
diffstat:
make/com/sun/jmx/Makefile | 2 +
make/common/shared/Defs.gmk | 12 +-
make/sun/font/Makefile | 6 +-
make/sun/nio/cs/FILES_java.gmk | 1 +
make/tools/CharsetMapping/IBM290.c2b | 100 +
make/tools/CharsetMapping/IBM290.map | 232 +
make/tools/CharsetMapping/extsbcs | 1 +
src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java | 46 +-
src/share/classes/java/awt/datatransfer/DataFlavor.java | 6 +-
src/share/classes/java/io/File.java | 161 +-
src/share/classes/java/io/FileInputStream.java | 5 +-
src/share/classes/java/io/FileOutputStream.java | 5 +-
src/share/classes/java/io/RandomAccessFile.java | 5 +-
src/share/classes/java/net/InetAddress.java | 1 -
src/share/classes/javax/management/MBeanNotificationInfo.java | 7 +-
src/share/classes/javax/management/remote/NotificationResult.java | 17 +-
src/share/classes/javax/management/remote/TargetedNotification.java | 8 +-
src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java | 18 +
src/share/classes/sun/nio/cs/ext/IBM300.java | 1875 ++++++++++
src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 63 +-
src/share/native/sun/font/layout/GlyphIterator.cpp | 78 +-
src/share/native/sun/font/layout/GlyphIterator.h | 10 +-
src/share/native/sun/font/layout/LETableReference.h | 18 +-
src/share/native/sun/font/layout/OpenTypeUtilities.cpp | 11 +-
src/solaris/bin/java_md_solinux.c | 26 +-
src/windows/classes/java/lang/ProcessImpl.java | 8 +-
src/windows/native/java/io/WinNTFileSystem_md.c | 4 +
src/windows/native/java/net/net_util_md.c | 6 +-
test/java/io/File/CreateNewFile.java | 19 +-
test/java/io/File/NulFile.java | 625 +++
test/java/io/File/createTempFile/SpecialTempFile.java | 102 +
test/java/io/IOException/LastErrorString.java | 5 +-
test/java/lang/Runtime/exec/ExecCommand.java | 2 +-
test/javax/imageio/plugins/jpeg/JpegWriterLeakTest.java | 125 +
test/javax/management/remote/mandatory/loading/MissingClassTest.java | 2 +-
35 files changed, 3474 insertions(+), 138 deletions(-)
diffs (truncated from 4438 to 500 lines):
diff -r 53b1249d1715 -r 3e7df93144c6 make/com/sun/jmx/Makefile
--- a/make/com/sun/jmx/Makefile Sat Aug 17 06:51:46 2013 +0800
+++ b/make/com/sun/jmx/Makefile Fri Sep 27 00:01:04 2013 +0100
@@ -115,6 +115,8 @@
ifeq ($(CROSS_COMPILE_ARCH),)
RMIC = $(RMIC_JAVA) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main
+else
+RMIC = $(BOOT_JAVA_CMD) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main
endif
$(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class
diff -r 53b1249d1715 -r 3e7df93144c6 make/common/shared/Defs.gmk
--- a/make/common/shared/Defs.gmk Sat Aug 17 06:51:46 2013 +0800
+++ b/make/common/shared/Defs.gmk Fri Sep 27 00:01:04 2013 +0100
@@ -296,10 +296,8 @@
RELEASE = $(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
endif
-# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
-ifdef BUILD_NUMBER
- FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
-else
+# Define default USER_RELEASE_SUFFIX if BUILD_NUMBER and USER_RELEASE_SUFFIX are not set
+ifndef BUILD_NUMBER
BUILD_NUMBER = b00
ifndef USER_RELEASE_SUFFIX
BUILD_DATE := $(shell $(DATE) '+%Y_%m_%d_%H_%M')
@@ -307,6 +305,12 @@
USER_RELEASE_SUFFIX := $(shell $(ECHO) "$(CLEAN_USERNAME)_$(BUILD_DATE)" | $(TR) '[:upper:]' '[:lower:]' )
endif
export USER_RELEASE_SUFFIX
+endif
+
+# FULL_VERSION is RELEASE and BUILD_NUMBER if USER_RELEASE_SUFFIX is not set
+ifndef USER_RELEASE_SUFFIX
+ FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
+else
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
endif
diff -r 53b1249d1715 -r 3e7df93144c6 make/sun/font/Makefile
--- a/make/sun/font/Makefile Sat Aug 17 06:51:46 2013 +0800
+++ b/make/sun/font/Makefile Fri Sep 27 00:01:04 2013 +0100
@@ -36,7 +36,11 @@
CPLUSPLUSLIBRARY=true
# Use higher optimization level
-OPTIMIZATION_LEVEL = HIGHER
+ifeq ($(PLATFORM), windows)
+ OPTIMIZATION_LEVEL = HIGHEST
+else
+ OPTIMIZATION_LEVEL = HIGHER
+endif
include $(BUILDDIR)/common/Defs.gmk
diff -r 53b1249d1715 -r 3e7df93144c6 make/sun/nio/cs/FILES_java.gmk
--- a/make/sun/nio/cs/FILES_java.gmk Sat Aug 17 06:51:46 2013 +0800
+++ b/make/sun/nio/cs/FILES_java.gmk Fri Sep 27 00:01:04 2013 +0100
@@ -329,6 +329,7 @@
sun/nio/cs/ext/IBM280.java \
sun/nio/cs/ext/IBM284.java \
sun/nio/cs/ext/IBM285.java \
+ sun/nio/cs/ext/IBM290.java \
sun/nio/cs/ext/IBM297.java \
sun/nio/cs/ext/IBM420.java \
sun/nio/cs/ext/IBM424.java \
diff -r 53b1249d1715 -r 3e7df93144c6 make/tools/CharsetMapping/IBM290.c2b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/make/tools/CharsetMapping/IBM290.c2b Fri Sep 27 00:01:04 2013 +0100
@@ -0,0 +1,100 @@
+#
+# Diff of
+# b2c: cdctables.zip/Package2.zip/IBM-290.zip/012234B0.TPMAP100
+# c2b: cdctables.zip/Package2.zip/IBM-290.zip/012234B0.UPMAP100
+#
+# fullwidth form
+0x4B U+FF0E
+0x4C U+FF1C
+0x4D U+FF08
+0x4E U+FF0B
+0x4F U+FF5C
+0x50 U+FF06
+0x5A U+FF01
+0x5C U+FF0A
+0x5D U+FF09
+0x5E U+FF1B
+0x60 U+FF0D
+0x61 U+FF0F
+0x62 U+FF41
+0x63 U+FF42
+0x64 U+FF43
+0x65 U+FF44
+0x66 U+FF45
+0x67 U+FF46
+0x68 U+FF47
+0x69 U+FF48
+0x6B U+FF0C
+0x6C U+FF05
+0x6D U+FF3F
+0x6E U+FF1E
+0x6F U+FF1F
+0x70 U+FF3B
+0x71 U+FF49
+0x72 U+FF4A
+0x73 U+FF4B
+0x74 U+FF4C
+0x75 U+FF4D
+0x76 U+FF4E
+0x77 U+FF4F
+0x78 U+FF50
+0x79 U+FF40
+0x7A U+FF1A
+0x7B U+FF03
+0x7C U+FF20
+0x7D U+FF07
+0x7E U+FF1D
+0x7F U+FF02
+0x80 U+FF3D
+0x8B U+FF51
+0x9B U+FF52
+0xA0 U+FF5E
+0xAB U+FF53
+0xB0 U+FF3E
+0xB2 U+FF3C
+0xB3 U+FF54
+0xB4 U+FF55
+0xB5 U+FF56
+0xB6 U+FF57
+0xB7 U+FF58
+0xB8 U+FF59
+0xB9 U+FF5A
+0xC0 U+FF5B
+0xC1 U+FF21
+0xC2 U+FF22
+0xC3 U+FF23
+0xC4 U+FF24
+0xC5 U+FF25
+0xC6 U+FF26
+0xC7 U+FF27
+0xC8 U+FF28
+0xC9 U+FF29
+0xD0 U+FF5D
+0xD1 U+FF2A
+0xD2 U+FF2B
+0xD3 U+FF2C
+0xD4 U+FF2D
+0xD5 U+FF2E
+0xD6 U+FF2F
+0xD7 U+FF30
+0xD8 U+FF31
+0xD9 U+FF32
+0xE0 U+FF04
+0xE2 U+FF33
+0xE3 U+FF34
+0xE4 U+FF35
+0xE5 U+FF36
+0xE6 U+FF37
+0xE7 U+FF38
+0xE8 U+FF39
+0xE9 U+FF3A
+0xF0 U+FF10
+0xF1 U+FF11
+0xF2 U+FF12
+0xF3 U+FF13
+0xF4 U+FF14
+0xF5 U+FF15
+0xF6 U+FF16
+0xF7 U+FF17
+0xF8 U+FF18
+0xF9 U+FF19
diff -r 53b1249d1715 -r 3e7df93144c6 make/tools/CharsetMapping/IBM290.map
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/make/tools/CharsetMapping/IBM290.map Fri Sep 27 00:01:04 2013 +0100
@@ -0,0 +1,232 @@
+#
+# b2c mapping for IBM290, generated from
+# cdctables.zip/Package2.zip/IBM-290.zip/012234B0.TPMAP100
+#
+0x00 U+0000
+0x01 U+0001
+0x02 U+0002
+0x03 U+0003
+0x04 U+009C
+0x05 U+0009
+0x06 U+0086
+0x07 U+007F
+0x08 U+0097
+0x09 U+008D
+0x0A U+008E
+0x0B U+000B
+0x0C U+000C
+0x0D U+000D
+0x0E U+000E
+0x0F U+000F
+0x10 U+0010
+0x11 U+0011
+0x12 U+0012
+0x13 U+0013
+0x14 U+009D
+0x15 U+0085
+0x16 U+0008
+0x17 U+0087
+0x18 U+0018
+0x19 U+0019
+0x1A U+0092
+0x1B U+008F
+0x1C U+001C
+0x1D U+001D
+0x1E U+001E
+0x1F U+001F
+0x20 U+0080
+0x21 U+0081
+0x22 U+0082
+0x23 U+0083
+0x24 U+0084
+0x25 U+000A
+0x26 U+0017
+0x27 U+001B
+0x28 U+0088
+0x29 U+0089
+0x2A U+008A
+0x2B U+008B
+0x2C U+008C
+0x2D U+0005
+0x2E U+0006
+0x2F U+0007
+0x30 U+0090
+0x31 U+0091
+0x32 U+0016
+0x33 U+0093
+0x34 U+0094
+0x35 U+0095
+0x36 U+0096
+0x37 U+0004
+0x38 U+0098
+0x39 U+0099
+0x3A U+009A
+0x3B U+009B
+0x3C U+0014
+0x3D U+0015
+0x3E U+009E
+0x3F U+001A
+0x40 U+0020
+0x41 U+FF61
+0x42 U+FF62
+0x43 U+FF63
+0x44 U+FF64
+0x45 U+FF65
+0x46 U+FF66
+0x47 U+FF67
+0x48 U+FF68
+0x49 U+FF69
+0x4A U+00A3
+0x4B U+002E
+0x4C U+003C
+0x4D U+0028
+0x4E U+002B
+0x4F U+007C
+0x50 U+0026
+0x51 U+FF6A
+0x52 U+FF6B
+0x53 U+FF6C
+0x54 U+FF6D
+0x55 U+FF6E
+0x56 U+FF6F
+0x58 U+FF70
+0x5A U+0021
+0x5B U+00A5
+0x5C U+002A
+0x5D U+0029
+0x5E U+003B
+0x5F U+00AC
+0x60 U+002D
+0x61 U+002F
+0x62 U+0061
+0x63 U+0062
+0x64 U+0063
+0x65 U+0064
+0x66 U+0065
+0x67 U+0066
+0x68 U+0067
+0x69 U+0068
+0x6B U+002C
+0x6C U+0025
+0x6D U+005F
+0x6E U+003E
+0x6F U+003F
+0x70 U+005B
+0x71 U+0069
+0x72 U+006A
+0x73 U+006B
+0x74 U+006C
+0x75 U+006D
+0x76 U+006E
+0x77 U+006F
+0x78 U+0070
+0x79 U+0060
+0x7A U+003A
+0x7B U+0023
+0x7C U+0040
+0x7D U+0027
+0x7E U+003D
+0x7F U+0022
+0x80 U+005D
+0x81 U+FF71
+0x82 U+FF72
+0x83 U+FF73
+0x84 U+FF74
+0x85 U+FF75
+0x86 U+FF76
+0x87 U+FF77
+0x88 U+FF78
+0x89 U+FF79
+0x8A U+FF7A
+0x8B U+0071
+0x8C U+FF7B
+0x8D U+FF7C
+0x8E U+FF7D
+0x8F U+FF7E
+0x90 U+FF7F
+0x91 U+FF80
+0x92 U+FF81
+0x93 U+FF82
+0x94 U+FF83
+0x95 U+FF84
+0x96 U+FF85
+0x97 U+FF86
+0x98 U+FF87
+0x99 U+FF88
+0x9A U+FF89
+0x9B U+0072
+0x9D U+FF8A
+0x9E U+FF8B
+0x9F U+FF8C
+0xA0 U+007E
+0xA1 U+203E
+0xA2 U+FF8D
+0xA3 U+FF8E
+0xA4 U+FF8F
+0xA5 U+FF90
+0xA6 U+FF91
+0xA7 U+FF92
+0xA8 U+FF93
+0xA9 U+FF94
+0xAA U+FF95
+0xAB U+0073
+0xAC U+FF96
+0xAD U+FF97
+0xAE U+FF98
+0xAF U+FF99
+0xB0 U+005E
+0xB1 U+00A2
+0xB2 U+005C
+0xB3 U+0074
+0xB4 U+0075
+0xB5 U+0076
+0xB6 U+0077
+0xB7 U+0078
+0xB8 U+0079
+0xB9 U+007A
+0xBA U+FF9A
+0xBB U+FF9B
+0xBC U+FF9C
+0xBD U+FF9D
+0xBE U+FF9E
+0xBF U+FF9F
+0xC0 U+007B
+0xC1 U+0041
+0xC2 U+0042
+0xC3 U+0043
+0xC4 U+0044
+0xC5 U+0045
+0xC6 U+0046
+0xC7 U+0047
+0xC8 U+0048
+0xC9 U+0049
+0xD0 U+007D
+0xD1 U+004A
+0xD2 U+004B
+0xD3 U+004C
+0xD4 U+004D
+0xD5 U+004E
+0xD6 U+004F
+0xD7 U+0050
+0xD8 U+0051
+0xD9 U+0052
+0xE0 U+0024
+0xE2 U+0053
+0xE3 U+0054
+0xE4 U+0055
+0xE5 U+0056
+0xE6 U+0057
+0xE7 U+0058
+0xE8 U+0059
+0xE9 U+005A
+0xF0 U+0030
+0xF1 U+0031
+0xF2 U+0032
+0xF3 U+0033
+0xF4 U+0034
+0xF5 U+0035
+0xF6 U+0036
+0xF7 U+0037
+0xF8 U+0038
+0xF9 U+0039
+0xFF U+009F
diff -r 53b1249d1715 -r 3e7df93144c6 make/tools/CharsetMapping/extsbcs
--- a/make/tools/CharsetMapping/extsbcs Sat Aug 17 06:51:46 2013 +0800
+++ b/make/tools/CharsetMapping/extsbcs Fri Sep 27 00:01:04 2013 +0100
@@ -28,6 +28,7 @@
IBM280 IBM280 Cp280 false sun.nio.cs.ext
IBM284 IBM284 Cp284 false sun.nio.cs.ext
IBM285 IBM285 Cp285 false sun.nio.cs.ext
+IBM290 IBM290 Cp290 false sun.nio.cs.ext
IBM297 IBM297 Cp297 false sun.nio.cs.ext
IBM420 IBM420 Cp420 false sun.nio.cs.ext
IBM424 IBM424 Cp424 false sun.nio.cs.ext
diff -r 53b1249d1715 -r 3e7df93144c6 src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java
--- a/src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java Sat Aug 17 06:51:46 2013 +0800
+++ b/src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java Fri Sep 27 00:01:04 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009,2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -36,13 +36,34 @@
import java.rmi.NoSuchObjectException;
import com.sun.jmx.remote.internal.IIOPProxy;
+import java.io.SerializablePermission;
+import java.security.AccessControlContext;
+import java.security.AccessController;
+import java.security.Permissions;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+import java.security.ProtectionDomain;
/**
- * An implementatin of IIOPProxy that simply delegates to the appropriate
+ * An implementation of IIOPProxy that simply delegates to the appropriate
* RMI-IIOP and CORBA APIs.
*/
public class IIOPProxyImpl implements IIOPProxy {
+ // special ACC used to initialize the IIOP stub
+ // the only allowed privilege is SerializablePermission("enableSubclassImplementation")
+ private static final AccessControlContext STUB_ACC;
+
+ static {
+ Permissions p = new Permissions();
+ p.add(new SerializablePermission("enableSubclassImplementation"));
+ STUB_ACC = new AccessControlContext(
+ new ProtectionDomain[]{
+ new ProtectionDomain(null, p)
+ }
+ );
+ }
+
public IIOPProxyImpl() { }
@Override
@@ -113,7 +134,24 @@
}
@Override
- public Remote toStub(Remote obj) throws NoSuchObjectException {
- return PortableRemoteObject.toStub(obj);
+ public Remote toStub(final Remote obj) throws NoSuchObjectException {
+ if (System.getSecurityManager() == null) {
+ return PortableRemoteObject.toStub(obj);
+ } else {
+ try {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Remote>() {
+
+ @Override
+ public Remote run() throws Exception {
+ return PortableRemoteObject.toStub(obj);
+ }
+ }, STUB_ACC);
+ } catch (PrivilegedActionException e) {
+ if (e.getException() instanceof NoSuchObjectException) {
+ throw (NoSuchObjectException)e.getException();
+ }
+ throw new RuntimeException("Unexpected exception type", e.getException());
+ }
+ }
}
}
diff -r 53b1249d1715 -r 3e7df93144c6 src/share/classes/java/awt/datatransfer/DataFlavor.java
--- a/src/share/classes/java/awt/datatransfer/DataFlavor.java Sat Aug 17 06:51:46 2013 +0800
+++ b/src/share/classes/java/awt/datatransfer/DataFlavor.java Fri Sep 27 00:01:04 2013 +0100
@@ -145,11 +145,7 @@
} catch (SecurityException exception) {
// ignore secured class loaders
}
- if (fallback != null) {
More information about the distro-pkg-dev
mailing list