/hg/release/icedtea7-forest-2.3/jdk: 38 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Tue Oct 15 16:12:15 PDT 2013


changeset 8d3ec25853a6 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=8d3ec25853a6
author: coffeys
date: Tue Jan 15 10:37:49 2013 +0000

	7196533: TimeZone.getDefault() slow due to synchronization bottleneck
	Reviewed-by: okutsu


changeset c2f898043f95 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=c2f898043f95
author: okutsu
date: Fri Jul 19 15:32:01 2013 +0900

	8006900: Add new date/time capability
	Reviewed-by: mchung, hawtin


changeset 5cd735be29d1 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=5cd735be29d1
author: dsamersoff
date: Mon Jul 08 14:34:36 2013 +0400

	8008589: Better MBean permission validation
	Summary: Better MBean permission validation
	Reviewed-by: skoivu, dfuchs, mchung, sjiang


changeset ebcd0fea5f9e in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=ebcd0fea5f9e
author: ascarpino
date: Wed Jul 03 15:12:19 2013 -0700

	8011071: Better crypto provider handling
	Reviewed-by: hawtin, valeriep


changeset 572d316989fc in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=572d316989fc
author: jbachorik
date: Tue Apr 23 09:37:31 2013 +0200

	8011081: Improve jhat
	Summary: Properly escape HTML output
	Reviewed-by: alanb, mschoene, sundar


changeset 199b6eeda099 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=199b6eeda099
author: msheppar
date: Fri Jun 14 17:28:36 2013 +0100

	8011157: Improve CORBA portablility
	Summary: fix also reviewed by Alexander Fomin
	Reviewed-by: alanb, coffeys, skoivu


changeset cd073b822141 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=cd073b822141
author: malenkov
date: Mon May 20 17:55:49 2013 +0400

	8012071: Better Building of Beans
	Reviewed-by: art, skoivu


changeset c12d76725313 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=c12d76725313
author: erikj
date: Thu Oct 10 15:37:20 2013 +0100

	8012147: Improve tool support
	Summary: Adding libjli to jdk lib dir and removing now redundant rpath entries from executables
	Reviewed-by: alanb, dholmes, ksrini, ahgross


changeset 3d5531b70473 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=3d5531b70473
author: malenkov
date: Fri May 31 20:43:32 2013 +0400

	8012277: Improve AWT DataFlavor
	Reviewed-by: art, skoivu


changeset cad67f3054b4 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=cad67f3054b4
author: ksrini
date: Tue May 07 13:37:03 2013 -0700

	8013506: Better Pack200 data handling
	Reviewed-by: jrose, kizune, mschoene


changeset 6b7e8dc5bf84 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=6b7e8dc5bf84
author: jchen
date: Thu May 09 11:23:18 2013 -0700

	8013510: Augment image writing code
	Reviewed-by: bae, prr


changeset 210b6fac668a in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=210b6fac668a
author: vadim
date: Mon May 13 13:24:30 2013 +0400

	8013514: Improve stability of cmap class
	Reviewed-by: mschoene, prr, bae


changeset 12a88f98c1f9 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=12a88f98c1f9
author: weijun
date: Thu Jun 13 10:21:06 2013 +0800

	8013739: Better LDAP resource management
	Reviewed-by: ahgross, mchung, xuelei


changeset 026eee952252 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=026eee952252
author: alexsch
date: Thu Oct 10 15:53:02 2013 +0100

	8013744: Better tabling for AWT
	Reviewed-by: art, malenkov, skoivu


changeset 5993a4780363 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=5993a4780363
author: jbachorik
date: Thu Jun 20 08:51:47 2013 +0200

	8014085: Better serialization support in JMX classes
	Reviewed-by: alanb, dfuchs, skoivu


changeset 56163a66f921 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=56163a66f921
author: bae
date: Fri May 17 16:47:51 2013 +0400

	8014093: Improve parsing of images
	Reviewed-by: prr


changeset 1f1d6e607855 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=1f1d6e607855
author: jchen
date: Thu Jun 13 12:02:15 2013 -0700

	8014098: Better profile validation
	Reviewed-by: bae, prr


changeset 47a9969695e5 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=47a9969695e5
author: bae
date: Tue May 21 13:56:39 2013 +0400

	8014102: Improve image conversion
	Reviewed-by: prr


changeset 6e1204adde28 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=6e1204adde28
author: weijun
date: Wed May 08 09:21:59 2013 +0800

	8014341: Better service from Kerberos servers
	Summary: read incoming data safely and take care of null return value
	Reviewed-by: valeriep, ahgross


changeset daae7d66b624 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=daae7d66b624
author: jfranck
date: Mon Jul 15 18:41:54 2013 +0200

	8014349: (cl) Class.getDeclaredClass problematic in some class loader configurations
	Reviewed-by: mchung, ahgross, darcy


changeset 526c5b36beb9 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=526c5b36beb9
author: sjiang
date: Thu Jul 18 10:12:56 2013 +0200

	8014534: Better profiling support
	Summary: Validation of parameters
	Reviewed-by: sspitsyn, skoivu, mchung


changeset 3d878d8005a5 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=3d878d8005a5
author: smarks
date: Wed Jul 10 15:28:42 2013 -0700

	8014987: Augment serialization handling
	Reviewed-by: alanb, coffeys, skoivu


changeset 95763758dc59 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=95763758dc59
author: erikj
date: Mon Aug 19 17:51:46 2013 +0200

	8015614: Update build settings
	Reviewed-by: tbell, dholmes, ahgross


changeset 23de3277d9ed in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=23de3277d9ed
author: weijun
date: Thu Jun 13 10:31:21 2013 +0800

	8015731: Subject java.security.auth.subject to improvements
	Reviewed-by: skoivu, mullan


changeset ca57fd2d417e in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=ca57fd2d417e
author: michaelm
date: Wed Jul 03 17:54:38 2013 +0100

	8015743: Address internet addresses
	Summary: moved Inet6Address fields to holder class
	Reviewed-by: chegar, alanb, skoivu, khazra


changeset dd1551343d65 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=dd1551343d65
author: sgabdura
date: Tue Jul 23 10:01:25 2013 +0400

	8016357: Update hotspot diagnostic class
	Summary: Add security check to HotSpotDiagnostic.dumpHeap
	Reviewed-by: fparain, sla, ahgross


changeset 951c38772db3 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=951c38772db3
author: mchung
date: Thu Jul 18 17:22:11 2013 -0700

	8017196: Ensure Proxies are handled appropriately
	Reviewed-by: dfuchs, jrose, jdn, ahgross, chegar


changeset accde587b25a in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=accde587b25a
author: bae
date: Mon Jul 01 20:20:50 2013 +0400

	8017287: Better resource disposal
	Reviewed-by: vadim


changeset e47ebe9e1891 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=e47ebe9e1891
author: mchung
date: Mon Jul 15 03:40:16 2013 -0700

	8017291: Cast Proxies Aside
	Reviewed-by: alanb, ahgross


changeset e049e7af186c in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=e049e7af186c
author: sundar
date: Thu Oct 10 16:05:52 2013 +0100

	8017300: Improve Interface Implementation
	Reviewed-by: ahgross, jlaskey, mchung


changeset 4c14bd341854 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=4c14bd341854
author: sjiang
date: Tue Aug 06 16:04:14 2013 +0200

	8019292: Better Attribute Value Exceptions
	Reviewed-by: dfuchs, dholmes, ahgross


changeset dfea2b7f993d in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=dfea2b7f993d
author: malenkov
date: Tue Jul 16 21:00:34 2013 +0400

	8019617: Better view of objects
	Reviewed-by: art, skoivu


changeset 664dbef2bca9 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=664dbef2bca9
author: jchen
date: Mon Jul 22 14:06:39 2013 -0700

	8020293: JVM crash
	Reviewed-by: prr, jgodinez


changeset e6dbd26e20c2 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=e6dbd26e20c2
author: serb
date: Thu Oct 10 16:07:40 2013 +0100

	8021275: Better screening for ScreenMenu
	Reviewed-by: art


changeset 17829ce31387 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=17829ce31387
author: serb
date: Thu Oct 10 16:11:20 2013 +0100

	8021282: Better recycling of object instances
	Reviewed-by: art


changeset 98ac6fa208e7 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=98ac6fa208e7
author: naoto
date: Thu Aug 01 14:15:27 2013 -0700

	8021286: Improve MacOS resourcing
	Reviewed-by: okutsu


changeset c564d18ddeb4 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=c564d18ddeb4
author: mullan
date: Tue Jul 30 17:20:22 2013 -0400

	8021290: Better signature validation
	Reviewed-by: xuelei, ahgross


changeset 53b1249d1715 in /hg/release/icedtea7-forest-2.3/jdk
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk?cmd=changeset;node=53b1249d1715
author: weijun
date: Sat Aug 17 06:51:46 2013 +0800

	8022931: Enhance Kerberos exceptions
	Reviewed-by: xuelei, ahgross


diffstat:

 make/bridge/Jabswitch/Makefile                                                                    |    2 +-
 make/com/sun/jmx/Makefile                                                                         |    4 +-
 make/common/Program.gmk                                                                           |    3 -
 make/common/Release.gmk                                                                           |    7 +-
 make/java/management/mapfile-vers                                                                 |    2 +-
 make/sun/awt/FILES_c_macosx.gmk                                                                   |   28 -
 make/sun/awt/FILES_export_macosx.gmk                                                              |   29 -
 make/sun/awt/Makefile                                                                             |    2 -
 src/macosx/classes/com/apple/laf/AquaLookAndFeel.java                                             |    4 +-
 src/macosx/classes/com/apple/laf/AquaUtils.java                                                   |  184 ++-
 src/macosx/classes/com/apple/laf/ScreenMenu.java                                                  |  130 +-
 src/macosx/classes/com/apple/resources/MacOSXResourceBundle.java                                  |  110 --
 src/macosx/native/com/apple/resources/MacOSXResourceBundle.m                                      |  110 --
 src/share/classes/com/sun/crypto/provider/DHPrivateKey.java                                       |   18 +-
 src/share/classes/com/sun/demo/jvmti/hprof/Tracker.java                                           |   26 +-
 src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java                               |    5 +
 src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java                               |    4 +-
 src/share/classes/com/sun/jndi/ldap/VersionHelper12.java                                          |   17 +-
 src/share/classes/com/sun/management/HotSpotDiagnosticMXBean.java                                 |    5 +
 src/share/classes/com/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream.java |   15 +-
 src/share/classes/com/sun/script/util/InterfaceImplementor.java                                   |   29 +-
 src/share/classes/com/sun/tools/hat/internal/server/AllClassesQuery.java                          |    2 +-
 src/share/classes/com/sun/tools/hat/internal/server/ClassQuery.java                               |   10 +-
 src/share/classes/com/sun/tools/hat/internal/server/HttpReader.java                               |   10 +-
 src/share/classes/com/sun/tools/hat/internal/server/InstancesCountQuery.java                      |    4 +-
 src/share/classes/com/sun/tools/hat/internal/server/OQLHelp.java                                  |    5 +-
 src/share/classes/com/sun/tools/hat/internal/server/OQLQuery.java                                 |   15 +-
 src/share/classes/com/sun/tools/hat/internal/server/QueryHandler.java                             |   17 +-
 src/share/classes/com/sun/tools/hat/internal/server/RefsByTypeQuery.java                          |    6 +-
 src/share/classes/java/awt/datatransfer/DataFlavor.java                                           |   50 +-
 src/share/classes/java/beans/Beans.java                                                           |    6 +
 src/share/classes/java/beans/DefaultPersistenceDelegate.java                                      |    3 +
 src/share/classes/java/beans/MetaData.java                                                        |   19 +-
 src/share/classes/java/io/ObjectInputStream.java                                                  |   15 +-
 src/share/classes/java/io/ObjectOutputStream.java                                                 |   20 +-
 src/share/classes/java/lang/Class.java                                                            |   12 +-
 src/share/classes/java/lang/ClassLoader.java                                                      |    8 +
 src/share/classes/java/lang/System.java                                                           |    4 +
 src/share/classes/java/lang/Thread.java                                                           |   24 +-
 src/share/classes/java/lang/invoke/MethodHandleNatives.java                                       |    2 +
 src/share/classes/java/lang/invoke/MethodHandles.java                                             |   15 +-
 src/share/classes/java/lang/reflect/Proxy.java                                                    |   16 +-
 src/share/classes/java/net/Inet6Address.java                                                      |  463 ++++++---
 src/share/classes/java/net/InetAddress.java                                                       |    7 +
 src/share/classes/java/util/TimeZone.java                                                         |   87 +-
 src/share/classes/javax/management/BadAttributeValueExpException.java                             |   26 +-
 src/share/classes/javax/management/MBeanNotificationInfo.java                                     |   22 +-
 src/share/classes/javax/management/MBeanTrustPermission.java                                      |   31 +-
 src/share/classes/javax/management/modelmbean/RequiredModelMBean.java                             |   10 +-
 src/share/classes/javax/management/remote/JMXPrincipal.java                                       |   23 +-
 src/share/classes/javax/management/remote/JMXServiceURL.java                                      |   99 +-
 src/share/classes/javax/management/remote/NotificationResult.java                                 |   53 +-
 src/share/classes/javax/management/remote/TargetedNotification.java                               |   34 +-
 src/share/classes/javax/management/remote/rmi/RMIConnector.java                                   |   29 +-
 src/share/classes/javax/security/auth/Subject.java                                                |    8 +-
 src/share/classes/javax/security/auth/kerberos/KeyTab.java                                        |   15 +-
 src/share/classes/javax/swing/JTable.java                                                         |   18 +-
 src/share/classes/javax/swing/UIDefaults.java                                                     |   12 +-
 src/share/classes/javax/swing/text/DefaultFormatter.java                                          |    8 +-
 src/share/classes/javax/swing/text/NumberFormatter.java                                           |    6 +-
 src/share/classes/javax/swing/text/html/ObjectView.java                                           |   28 +-
 src/share/classes/sun/font/FileFont.java                                                          |    4 +-
 src/share/classes/sun/font/GlyphLayout.java                                                       |    7 +-
 src/share/classes/sun/font/StandardGlyphVector.java                                               |    5 +-
 src/share/classes/sun/font/TrueTypeFont.java                                                      |    3 +
 src/share/classes/sun/java2d/Disposer.java                                                        |    7 +-
 src/share/classes/sun/management/HotSpotDiagnostic.java                                           |   12 +-
 src/share/classes/sun/misc/JavaLangAccess.java                                                    |    7 +
 src/share/classes/sun/reflect/misc/ReflectUtil.java                                               |   48 +
 src/share/classes/sun/security/ec/ECPrivateKeyImpl.java                                           |   10 +-
 src/share/classes/sun/security/jgss/GSSCredentialImpl.java                                        |    4 +-
 src/share/classes/sun/security/krb5/KdcComm.java                                                  |   12 +-
 src/share/classes/sun/security/krb5/internal/NetClient.java                                       |   10 +-
 src/share/classes/sun/security/pkcs/PKCS8Key.java                                                 |   13 +-
 src/share/classes/sun/security/pkcs11/P11Key.java                                                 |   48 +-
 src/share/classes/sun/security/provider/DSAPrivateKey.java                                        |    7 +-
 src/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java                                      |   27 +-
 src/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java                                         |    9 +-
 src/share/classes/sun/swing/SwingLazyValue.java                                                   |    3 +-
 src/share/classes/sun/swing/SwingUtilities2.java                                                  |   13 +
 src/share/demo/jvmti/hprof/hprof_class.c                                                          |   14 +-
 src/share/demo/jvmti/hprof/hprof_event.c                                                          |   27 +-
 src/share/lib/security/java.security                                                              |    2 +
 src/share/lib/security/java.security-macosx                                                       |    2 +
 src/share/lib/security/java.security-solaris                                                      |    2 +
 src/share/lib/security/java.security-windows                                                      |    2 +
 src/share/native/com/sun/java/util/jar/pack/zip.cpp                                               |    8 +-
 src/share/native/java/lang/Class.c                                                                |    2 +-
 src/share/native/java/net/Inet6Address.c                                                          |   17 +-
 src/share/native/java/net/net_util.c                                                              |  124 ++-
 src/share/native/java/net/net_util.h                                                              |   17 +
 src/share/native/sun/awt/image/awt_parseImage.c                                                   |  455 +++------
 src/share/native/sun/awt/image/awt_parseImage.h                                                   |   11 +-
 src/share/native/sun/awt/image/jpeg/imageioJPEG.c                                                 |    9 +
 src/share/native/sun/awt/medialib/awt_ImagingLib.c                                                |  250 +---
 src/share/native/sun/font/layout/SunLayoutEngine.cpp                                              |    4 +
 src/share/native/sun/java2d/cmm/lcms/cmsio0.c                                                     |   26 +-
 src/share/native/sun/management/HotSpotDiagnostic.c                                               |    2 +-
 src/solaris/native/java/net/Inet6AddressImpl.c                                                    |   18 +-
 src/solaris/native/java/net/NetworkInterface.c                                                    |   18 +-
 src/solaris/native/java/net/PlainDatagramSocketImpl.c                                             |    3 +-
 src/solaris/native/java/net/net_util_md.c                                                         |    8 +-
 src/windows/native/java/net/Inet6AddressImpl.c                                                    |   16 +-
 src/windows/native/java/net/NetworkInterface.c                                                    |   16 +-
 src/windows/native/java/net/NetworkInterface_winXP.c                                              |   12 +-
 src/windows/native/java/net/TwoStacksPlainSocketImpl.c                                            |    7 +-
 test/Makefile                                                                                     |    2 +-
 test/java/lang/SecurityManager/CheckPackageAccess.java                                            |    3 +-
 108 files changed, 1738 insertions(+), 1564 deletions(-)

diffs (truncated from 6158 to 500 lines):

diff -r 7764e0491978 -r 53b1249d1715 make/bridge/Jabswitch/Makefile
--- a/make/bridge/Jabswitch/Makefile	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/bridge/Jabswitch/Makefile	Sat Aug 17 06:51:46 2013 +0800
@@ -53,7 +53,7 @@
 buildexe : 
 	$(CD) $(TEMPDIR)  
 	$(RC) $(RC_FLAGS) $(VERSIONINFO_RESOURCE) 
-	$(CC) $(CPPFLAGS) $(JAB_SRC) $(LDDFLAGS) $(VERSIONRES) -o $(JAB_EXE) 
+	$(CC) $(CPPFLAGS) $(JAB_SRC) $(VERSIONRES) /link $(LDDFLAGS) -out:$(JAB_EXE)
 	$(MT) /nologo /verbose /manifest $(JAB_MANIFEST_INP) /outputresource:$(JAB_EXE)  
 
 copyfilejab : 
diff -r 7764e0491978 -r 53b1249d1715 make/com/sun/jmx/Makefile
--- a/make/com/sun/jmx/Makefile	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/com/sun/jmx/Makefile	Sat Aug 17 06:51:46 2013 +0800
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2003, 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
@@ -130,11 +130,13 @@
 	$(RMIC) -classpath "$(CLASSDESTDIR)"    \
                 -d $(CLASSDESTDIR)              \
                 -iiop -v1.2                     \
+                -emitPermissionCheck            \
                 $(subst /,.,$(<:$(CLASSDESTDIR)/%.class=%))
 	$(RMIC) $(HOTSPOT_INTERPRETER_FLAG) -classpath "$(CLASSDESTDIR)"    \
                 -d $(CLASSDESTDIR)              \
                 -iiop -v1.2                     \
                 -standardPackage                \
+                -emitPermissionCheck            \
                 $(subst /,.,$(<:$(CLASSDESTDIR)/%.class=%))
 	@$(java-vm-cleanup)
 
diff -r 7764e0491978 -r 53b1249d1715 make/common/Program.gmk
--- a/make/common/Program.gmk	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/common/Program.gmk	Sat Aug 17 06:51:46 2013 +0800
@@ -103,10 +103,8 @@
   ifeq ($(PLATFORM), solaris)
     ifeq ($(ARCH_DATA_MODEL), 32)
       LDFLAGS += -R \$$ORIGIN/../lib/$(LIBARCH)/jli
-      LDFLAGS += -R \$$ORIGIN/../jre/lib/$(LIBARCH)/jli
     else # ! ARCH_DATA_MODEL 64-bit
       LDFLAGS += -R \$$ORIGIN/../../lib/$(LIBARCH)/jli
-      LDFLAGS += -R \$$ORIGIN/../../jre/lib/$(LIBARCH)/jli
     endif # ARCH_DATA_MODEL
   endif # PLATFORM SOLARIS
   ifeq ($(PLATFORM), linux)
@@ -116,7 +114,6 @@
     LDFLAGS += $(LDFLAG_Z_ORIGIN)
     LDFLAGS += -Wl,--allow-shlib-undefined
     LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH)/jli
-    LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH)/jli
   endif # PLATFORM LINUX
 endif # PLATFORM linux solaris
 
diff -r 7764e0491978 -r 53b1249d1715 make/common/Release.gmk
--- a/make/common/Release.gmk	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/common/Release.gmk	Sat Aug 17 06:51:46 2013 +0800
@@ -981,6 +981,11 @@
   endif
 	$(RM) -rf $(JDK_IMAGE_DIR)/jre/man
 	$(CHMOD) a+rx `$(FIND) $(JDK_IMAGE_DIR) -type d`
+  ifneq (,$(findstring $(PLATFORM), linux solaris)) # If linux or solaris 
+	($(CD) $(LIBDIR)/.. && $(TAR) cf - \
+	    `$(FIND) lib -name $(LIB_PREFIX)jli.$(LIB_SUFFIX) -print `) | \
+	    ($(CD) $(JDK_IMAGE_DIR) && $(TAR) xf -)
+  endif # PLATFORM
 
 initial-image-jdk64-bindemos:
 	for dir in bin demo ; do \
@@ -1029,7 +1034,7 @@
 		    initial-image-jdk-db \
 		    $(JDK_DOCFILES) \
 		    $(JDK_DEMOS_AND_SAMPLES_DOCFILES)
-	$(MKDIR) $(JDK_IMAGE_DIR)/lib
+	$(MKDIR) -p $(JDK_IMAGE_DIR)/lib
 	@#
 	@# Copy in the jars in lib that only belong in the JDK
 	@#
diff -r 7764e0491978 -r 53b1249d1715 make/java/management/mapfile-vers
--- a/make/java/management/mapfile-vers	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/java/management/mapfile-vers	Sat Aug 17 06:51:46 2013 +0800
@@ -53,7 +53,7 @@
 	    Java_sun_management_GcInfoBuilder_fillGcAttributeInfo;
 	    Java_sun_management_GcInfoBuilder_getLastGcInfo0;
 	    Java_sun_management_GcInfoBuilder_getNumGcExtAttributes;
-	    Java_sun_management_HotSpotDiagnostic_dumpHeap;
+	    Java_sun_management_HotSpotDiagnostic_dumpHeap0;
 	    Java_sun_management_HotspotThread_getInternalThreadCount;
 	    Java_sun_management_HotspotThread_getInternalThreadTimes0;
 	    Java_sun_management_MemoryImpl_getMemoryManagers0;
diff -r 7764e0491978 -r 53b1249d1715 make/sun/awt/FILES_c_macosx.gmk
--- a/make/sun/awt/FILES_c_macosx.gmk	Tue Oct 08 16:37:50 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-#
-# Copyright (c) 1995, 2011, 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
-# under the terms of the GNU General Public License version 2 only, as
-# published by the Free Software Foundation.  Oracle designates this
-# particular file as subject to the "Classpath" exception as provided
-# by Oracle in the LICENSE file that accompanied this code.
-#
-# This code is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# version 2 for more details (a copy is included in the LICENSE file that
-# accompanied this code).
-#
-# You should have received a copy of the GNU General Public License version
-# 2 along with this work; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
-# or visit www.oracle.com if you need additional information or have any
-# questions.
-#
-
-FILES_AWT_objc = \
-        $(TARGDIR)MacOSXResourceBundle.m
-
diff -r 7764e0491978 -r 53b1249d1715 make/sun/awt/FILES_export_macosx.gmk
--- a/make/sun/awt/FILES_export_macosx.gmk	Tue Oct 08 16:37:50 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#
-# Copyright (c) 1995, 2011, 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
-# under the terms of the GNU General Public License version 2 only, as
-# published by the Free Software Foundation.  Oracle designates this
-# particular file as subject to the "Classpath" exception as provided
-# by Oracle in the LICENSE file that accompanied this code.
-#
-# This code is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# version 2 for more details (a copy is included in the LICENSE file that
-# accompanied this code).
-#
-# You should have received a copy of the GNU General Public License version
-# 2 along with this work; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
-# or visit www.oracle.com if you need additional information or have any
-# questions.
-#
-
-# FILES_export definitions for Mac OS X
-
-FILES_export += \
-	com/apple/resources/MacOSXResourceBundle.java
diff -r 7764e0491978 -r 53b1249d1715 make/sun/awt/Makefile
--- a/make/sun/awt/Makefile	Tue Oct 08 16:37:50 2013 +0100
+++ b/make/sun/awt/Makefile	Sat Aug 17 06:51:46 2013 +0800
@@ -145,8 +145,6 @@
 #
 # Files
 #
-include FILES_c_macosx.gmk
-include FILES_export_macosx.gmk
 
 FILES_objc = $(FILES_AWT_objc)
 OTHER_LDLIBS = -lmlib_image $(JVMLIB) $(LIBM) \
diff -r 7764e0491978 -r 53b1249d1715 src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
--- a/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Tue Oct 08 16:37:50 2013 +0100
+++ b/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Sat Aug 17 06:51:46 2013 +0800
@@ -37,8 +37,6 @@
 import sun.swing.*;
 import apple.laf.*;
 
-import com.apple.resources.MacOSXResourceBundle;
-
 public class AquaLookAndFeel extends BasicLookAndFeel {
     static final String sOldPropertyPrefix = "com.apple.macos."; // old prefix for things like 'useScreenMenuBar'
     static final String sPropertyPrefix = "apple.laf."; // new prefix for things like 'useScreenMenuBar'
@@ -246,7 +244,7 @@
         table.setDefaultLocale(Locale.getDefault());
         table.addResourceBundle(PKG_PREFIX + "resources.aqua");
         try {
-            final ResourceBundle aquaProperties = MacOSXResourceBundle.getMacResourceBundle(PKG_PREFIX + "resources.aqua");
+            final ResourceBundle aquaProperties = ResourceBundle.getBundle(PKG_PREFIX + "resources.aqua");
             final Enumeration<String> propertyKeys = aquaProperties.getKeys();
 
             while (propertyKeys.hasMoreElements()) {
diff -r 7764e0491978 -r 53b1249d1715 src/macosx/classes/com/apple/laf/AquaUtils.java
--- a/src/macosx/classes/com/apple/laf/AquaUtils.java	Tue Oct 08 16:37:50 2013 +0100
+++ b/src/macosx/classes/com/apple/laf/AquaUtils.java	Sat Aug 17 06:51:46 2013 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -30,6 +30,7 @@
 import java.lang.ref.SoftReference;
 import java.lang.ref.WeakReference;
 import java.lang.reflect.Method;
+import java.security.AccessController;
 import java.security.PrivilegedAction;
 import java.util.*;
 
@@ -40,56 +41,68 @@
 
 import sun.lwawt.macosx.CImage;
 import sun.lwawt.macosx.CImage.Creator;
+import sun.misc.Launcher;
+import sun.reflect.misc.ReflectUtil;
+import sun.security.action.GetPropertyAction;
 import sun.swing.SwingUtilities2;
 
 import com.apple.laf.AquaImageFactory.SlicedImageControl;
 
-public class AquaUtils {
-    final static String ANIMATIONS_SYSTEM_PROPERTY = "swing.enableAnimations";
+final class AquaUtils {
 
-    /*
+    private static final String ANIMATIONS_PROPERTY = "swing.enableAnimations";
+
+    /**
+     * Suppresses default constructor, ensuring non-instantiability.
+     */
+    private AquaUtils() {
+    }
+
+    /**
      * Convenience function for determining ComponentOrientation.  Helps us
      * avoid having Munge directives throughout the code.
      */
-    public static boolean isLeftToRight(final Component c) {
+    static boolean isLeftToRight(final Component c) {
         return c.getComponentOrientation().isLeftToRight();
     }
 
-    public static void enforceComponentOrientation(Component c, ComponentOrientation orientation) {
+    static void enforceComponentOrientation(final Component c, final ComponentOrientation orientation) {
         c.setComponentOrientation(orientation);
         if (c instanceof Container) {
-            for (Component child : ((Container)c).getComponents()) {
+            for (final Component child : ((Container)c).getComponents()) {
                 enforceComponentOrientation(child, orientation);
             }
         }
     }
 
-    private static CImage.Creator getCImageCreatorInternal() {
-        return java.security.AccessController.doPrivileged(new PrivilegedAction<CImage.Creator>() {
+    private static Creator getCImageCreatorInternal() {
+        return AccessController.doPrivileged(new PrivilegedAction<Creator>() {
+            @Override
             public Creator run() {
                 try {
                     final Method getCreatorMethod = CImage.class.getDeclaredMethod("getCreator", new Class[] {});
                     getCreatorMethod.setAccessible(true);
-                    return (CImage.Creator)getCreatorMethod.invoke(null, new Object[] {});
-                } catch (final Exception e) {
+                    return (Creator)getCreatorMethod.invoke(null, new Object[] {});
+                } catch (final Exception ignored) {
                     return null;
                 }
             }
         });
     }
 
-    private static final RecyclableSingleton<CImage.Creator> cImageCreator = new RecyclableSingleton<CImage.Creator>() {
+    private static final RecyclableSingleton<Creator> cImageCreator = new RecyclableSingleton<Creator>() {
         @Override
         protected Creator getInstance() {
             return getCImageCreatorInternal();
         }
     };
-    static CImage.Creator getCImageCreator() {
+    static Creator getCImageCreator() {
         return cImageCreator.get();
     }
 
-    protected static Image generateSelectedDarkImage(final Image image) {
+    static Image generateSelectedDarkImage(final Image image) {
         final ImageProducer prod = new FilteredImageSource(image.getSource(), new IconImageFilter() {
+            @Override
             int getGreyFor(final int gray) {
                 return gray * 75 / 100;
             }
@@ -97,8 +110,9 @@
         return Toolkit.getDefaultToolkit().createImage(prod);
     }
 
-    protected static Image generateDisabledImage(final Image image) {
+    static Image generateDisabledImage(final Image image) {
         final ImageProducer prod = new FilteredImageSource(image.getSource(), new IconImageFilter() {
+            @Override
             int getGreyFor(final int gray) {
                 return 255 - ((255 - gray) * 65 / 100);
             }
@@ -106,19 +120,20 @@
         return Toolkit.getDefaultToolkit().createImage(prod);
     }
 
-    protected static Image generateLightenedImage(final Image image, final int percent) {
+    static Image generateLightenedImage(final Image image, final int percent) {
         final GrayFilter filter = new GrayFilter(true, percent);
         final ImageProducer prod = new FilteredImageSource(image.getSource(), filter);
         return Toolkit.getDefaultToolkit().createImage(prod);
     }
 
-    static abstract class IconImageFilter extends RGBImageFilter {
-        public IconImageFilter() {
+    private abstract static class IconImageFilter extends RGBImageFilter {
+        IconImageFilter() {
             super();
             canFilterIndexColorModel = true;
         }
 
-        public int filterRGB(final int x, final int y, final int rgb) {
+        @Override
+        public final int filterRGB(final int x, final int y, final int rgb) {
             final int red = (rgb >> 16) & 0xff;
             final int green = (rgb >> 8) & 0xff;
             final int blue = rgb & 0xff;
@@ -134,14 +149,14 @@
             return result;
         }
 
-        abstract int getGreyFor(final int gray);
+        abstract int getGreyFor(int gray);
     }
 
-    public abstract static class RecyclableObject<T> {
-        protected SoftReference<T> objectRef = null;
+    abstract static class RecyclableObject<T> {
+        private SoftReference<T> objectRef;
 
-        public T get() {
-            T referent = null;
+        T get() {
+            T referent;
             if (objectRef != null && (referent = objectRef.get()) != null) return referent;
             referent = create();
             objectRef = new SoftReference<T>(referent);
@@ -151,8 +166,8 @@
         protected abstract T create();
     }
 
-    public abstract static class RecyclableSingleton<T> {
-        public T get() {
+    abstract static class RecyclableSingleton<T> {
+        final T get() {
             final AppContext appContext = AppContext.getAppContext();
             SoftReference<T> ref = (SoftReference<T>) appContext.get(this);
             if (ref != null) {
@@ -165,38 +180,36 @@
             return object;
         }
 
-        public void reset() {
-            AppContext appContext = AppContext.getAppContext();
-            appContext.remove(this);
+        void reset() {
+            AppContext.getAppContext().remove(this);
         }
 
-        protected abstract T getInstance();
+        abstract T getInstance();
     }
 
-    public static class RecyclableSingletonFromDefaultConstructor<T> extends RecyclableSingleton<T> {
-        protected final Class<T> clazz;
+    static class RecyclableSingletonFromDefaultConstructor<T> extends RecyclableSingleton<T> {
+        private final Class<T> clazz;
 
-        public RecyclableSingletonFromDefaultConstructor(final Class<T> clazz) {
+        RecyclableSingletonFromDefaultConstructor(final Class<T> clazz) {
             this.clazz = clazz;
         }
 
-        protected T getInstance() {
+        @Override
+        T getInstance() {
             try {
+                ReflectUtil.checkPackageAccess(clazz);
                 return clazz.newInstance();
-            } catch (final InstantiationException e) {
-                e.printStackTrace();
-            } catch (final IllegalAccessException e) {
-                e.printStackTrace();
+            } catch (InstantiationException | IllegalAccessException ignored) {
             }
             return null;
         }
     }
 
-    public abstract static class LazyKeyedSingleton<K, V> {
-        protected Map<K, V> refs;
+    abstract static class LazyKeyedSingleton<K, V> {
+        private Map<K, V> refs;
 
-        public V get(final K key) {
-            if (refs == null) refs = new HashMap<K, V>();
+        V get(final K key) {
+            if (refs == null) refs = new HashMap<>();
 
             final V cachedValue = refs.get(key);
             if (cachedValue != null) return cachedValue;
@@ -206,44 +219,45 @@
             return value;
         }
 
-        protected abstract V getInstance(final K key);
+        protected abstract V getInstance(K key);
     }
 
-    static final RecyclableSingleton<Boolean> enableAnimations = new RecyclableSingleton<Boolean>() {
+    private static final RecyclableSingleton<Boolean> enableAnimations = new RecyclableSingleton<Boolean>() {
         @Override
         protected Boolean getInstance() {
-            final String sizeProperty = (String)java.security.AccessController.doPrivileged((PrivilegedAction<?>)new sun.security.action.GetPropertyAction(ANIMATIONS_SYSTEM_PROPERTY));
-            return new Boolean(!"false".equals(sizeProperty)); // should be true by default
+            final String sizeProperty = (String) AccessController.doPrivileged((PrivilegedAction<?>)new GetPropertyAction(
+                    ANIMATIONS_PROPERTY));
+            return !"false".equals(sizeProperty); // should be true by default
         }
     };
-    static boolean animationsEnabled() {
+    private static boolean animationsEnabled() {
         return enableAnimations.get();
     }
 
-    static final int MENU_BLINK_DELAY = 50; // 50ms == 3/60 sec, according to the spec
-    protected static void blinkMenu(final Selectable selectable) {
+    private static final int MENU_BLINK_DELAY = 50; // 50ms == 3/60 sec, according to the spec
+    static void blinkMenu(final Selectable selectable) {
         if (!animationsEnabled()) return;
         try {
             selectable.paintSelected(false);
             Thread.sleep(MENU_BLINK_DELAY);
             selectable.paintSelected(true);
             Thread.sleep(MENU_BLINK_DELAY);
-        } catch (final InterruptedException e) { }
+        } catch (final InterruptedException ignored) { }
     }
 
     interface Selectable {
-        void paintSelected(final boolean selected);
+        void paintSelected(boolean selected);
     }
 
     interface JComponentPainter {
-        public void paint(JComponent c, Graphics g, int x, int y, int w, int h);
+        void paint(JComponent c, Graphics g, int x, int y, int w, int h);
     }
 
     interface Painter {
-        public void paint(final Graphics g, int x, int y, int w, int h);
+        void paint(Graphics g, int x, int y, int w, int h);
     }
 
-    public static void paintDropShadowText(final Graphics g, final JComponent c, final Font font, final FontMetrics metrics, final int x, final int y, final int offsetX, final int offsetY, final Color textColor, final Color shadowColor, final String text) {
+    static void paintDropShadowText(final Graphics g, final JComponent c, final Font font, final FontMetrics metrics, final int x, final int y, final int offsetX, final int offsetY, final Color textColor, final Color shadowColor, final String text) {
         g.setFont(font);
         g.setColor(shadowColor);
         SwingUtilities2.drawString(c, g, text, x + offsetX, y + offsetY + metrics.getAscent());
@@ -251,22 +265,22 @@
         SwingUtilities2.drawString(c, g, text, x, y + metrics.getAscent());
     }
 
-    public static class ShadowBorder implements Border {
-        final Painter prePainter;
-        final Painter postPainter;
+    static class ShadowBorder implements Border {
+        private final Painter prePainter;
+        private final Painter postPainter;
 
-        final int offsetX;
-        final int offsetY;
-        final float distance;
-        final int blur;
-        final Insets insets;
-        final ConvolveOp blurOp;
+        private final int offsetX;
+        private final int offsetY;
+        private final float distance;
+        private final int blur;
+        private final Insets insets;
+        private final ConvolveOp blurOp;
 
-        public ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) {
+        ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) {
             this.prePainter = prePainter; this.postPainter = postPainter;
             this.offsetX = offsetX; this.offsetY = offsetY; this.distance = distance; this.blur = blur;
             final int halfBlur = blur / 2;
-            this.insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX);


More information about the distro-pkg-dev mailing list