From alan.bateman at oracle.com Tue May 1 03:19:40 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Tue, 01 May 2012 10:19:40 +0000 Subject: hg: jdk8/tl/jdk: 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11] Message-ID: <20120501102003.7E06F470B3@hg.openjdk.java.net> Changeset: c22b2f9066dd Author: alanb Date: 2012-05-01 11:17 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c22b2f9066dd 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11] Reviewed-by: chegar ! src/solaris/classes/sun/nio/fs/SolarisWatchService.java + test/java/nio/file/WatchService/MayFlies.java From xuelei.fan at oracle.com Tue May 1 03:53:55 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Tue, 01 May 2012 10:53:55 +0000 Subject: hg: jdk8/tl/jdk: 7158688: Typo in SSLContext Spec Message-ID: <20120501105406.79860470B4@hg.openjdk.java.net> Changeset: 71fdf32fdc65 Author: xuelei Date: 2012-05-01 03:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71fdf32fdc65 7158688: Typo in SSLContext Spec Reviewed-by: weijun, wetmore ! src/share/classes/javax/net/ssl/SSLContext.java From lana.steuck at oracle.com Tue May 1 11:44:05 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:05 +0000 Subject: hg: jdk8/tl: Added tag jdk8-b36 for changeset 6a6ba0a07f33 Message-ID: <20120501184406.02FD6470BA@hg.openjdk.java.net> Changeset: 47aa0ddc9126 Author: katleman Date: 2012-04-26 14:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/47aa0ddc9126 Added tag jdk8-b36 for changeset 6a6ba0a07f33 ! .hgtags From lana.steuck at oracle.com Tue May 1 11:44:07 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:07 +0000 Subject: hg: jdk8/tl/corba: 2 new changesets Message-ID: <20120501184410.489D0470BB@hg.openjdk.java.net> Changeset: 83fac66442cf Author: katleman Date: 2012-04-26 14:05 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/83fac66442cf Added tag jdk8-b36 for changeset a5a61f259961 ! .hgtags Changeset: 4a653e435441 Author: lana Date: 2012-05-01 11:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/4a653e435441 Merge From lana.steuck at oracle.com Tue May 1 11:44:09 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:09 +0000 Subject: hg: jdk8/tl/jaxws: Added tag jdk8-b36 for changeset 89b36c658e39 Message-ID: <20120501184414.AD2B9470BC@hg.openjdk.java.net> Changeset: b05a948db1b6 Author: katleman Date: 2012-04-26 14:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/b05a948db1b6 Added tag jdk8-b36 for changeset 89b36c658e39 ! .hgtags From lana.steuck at oracle.com Tue May 1 11:44:10 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:10 +0000 Subject: hg: jdk8/tl/hotspot: Added tag jdk8-b36 for changeset 50b4400ca1ec Message-ID: <20120501184416.9C575470BD@hg.openjdk.java.net> Changeset: bfcf92bfefb8 Author: katleman Date: 2012-04-26 14:05 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/bfcf92bfefb8 Added tag jdk8-b36 for changeset 50b4400ca1ec ! .hgtags From lana.steuck at oracle.com Tue May 1 11:44:11 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:11 +0000 Subject: hg: jdk8/tl/jaxp: Added tag jdk8-b36 for changeset cfd288fe1d3e Message-ID: <20120501184416.9FA7C470BE@hg.openjdk.java.net> Changeset: c388369cf4da Author: katleman Date: 2012-04-26 14:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/c388369cf4da Added tag jdk8-b36 for changeset cfd288fe1d3e ! .hgtags From lana.steuck at oracle.com Tue May 1 11:44:14 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:14 +0000 Subject: hg: jdk8/tl/langtools: Added tag jdk8-b36 for changeset 94bbaa67686f Message-ID: <20120501184417.45665470C1@hg.openjdk.java.net> Changeset: 5891b38985e8 Author: katleman Date: 2012-04-26 14:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/5891b38985e8 Added tag jdk8-b36 for changeset 94bbaa67686f ! .hgtags From lana.steuck at oracle.com Tue May 1 11:44:17 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 01 May 2012 18:44:17 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20120501184444.65216470C2@hg.openjdk.java.net> Changeset: 9e82ac15ab80 Author: katleman Date: 2012-04-26 14:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9e82ac15ab80 Added tag jdk8-b36 for changeset 45da9cb055ee ! .hgtags Changeset: 6c9c3d7ce9e2 Author: lana Date: 2012-05-01 11:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6c9c3d7ce9e2 Merge From mandy.chung at oracle.com Tue May 1 19:47:40 2012 From: mandy.chung at oracle.com (mandy.chung at oracle.com) Date: Wed, 02 May 2012 02:47:40 +0000 Subject: hg: jdk8/tl/jdk: 7164376: Replace use of sun.security.action.LoadLibraryAction with System.loadLibrary Message-ID: <20120502024757.A5CE9470D8@hg.openjdk.java.net> Changeset: 46e0bd218fcc Author: mchung Date: 2012-05-01 19:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/46e0bd218fcc 7164376: Replace use of sun.security.action.LoadLibraryAction with System.loadLibrary Reviewed-by: alanb, mullan, prr ! src/macosx/classes/apple/launcher/JavaAppLauncher.java ! src/macosx/classes/apple/security/KeychainStore.java ! src/macosx/classes/com/apple/concurrent/LibDispatchNative.java ! src/macosx/classes/com/apple/eawt/Application.java ! src/macosx/classes/com/apple/eio/FileManager.java ! src/macosx/classes/com/apple/laf/AquaFileView.java ! src/macosx/classes/com/apple/laf/AquaLookAndFeel.java ! src/macosx/classes/com/apple/laf/AquaNativeResources.java ! src/macosx/classes/com/apple/laf/ScreenMenu.java ! src/macosx/classes/com/apple/laf/ScreenPopupFactory.java ! src/macosx/classes/java/util/prefs/MacOSXPreferencesFile.java ! src/macosx/classes/sun/awt/CGraphicsEnvironment.java ! src/macosx/classes/sun/lwawt/macosx/CAccessibility.java ! src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java ! src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java ! src/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java ! src/share/classes/java/awt/SplashScreen.java ! src/share/classes/java/awt/Toolkit.java ! src/share/classes/java/awt/event/NativeLibLoader.java ! src/share/classes/java/awt/image/ColorModel.java ! src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java ! src/share/classes/java/net/AbstractPlainSocketImpl.java ! src/share/classes/java/net/DatagramPacket.java ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/NetworkInterface.java ! src/share/classes/sun/awt/NativeLibLoader.java ! src/share/classes/sun/awt/image/JPEGImageDecoder.java ! src/share/classes/sun/awt/image/NativeLibLoader.java ! src/share/classes/sun/java2d/Disposer.java ! src/share/classes/sun/management/ManagementFactoryHelper.java ! src/share/classes/sun/net/sdp/SdpSupport.java ! src/share/classes/sun/net/spi/DefaultProxySelector.java ! src/share/classes/sun/nio/ch/Util.java - src/share/classes/sun/security/action/LoadLibraryAction.java ! src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java ! src/share/classes/sun/security/smartcardio/PCSC.java ! src/share/classes/sun/tracing/dtrace/JVM.java ! src/solaris/classes/sun/management/FileSystemImpl.java ! src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java ! src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java ! src/solaris/classes/sun/print/CUPSPrinter.java ! src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java ! src/windows/classes/sun/awt/windows/WToolkit.java ! src/windows/classes/sun/management/FileSystemImpl.java ! src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java ! src/windows/classes/sun/print/Win32PrintServiceLookup.java ! src/windows/classes/sun/security/smartcardio/PlatformPCSC.java From vincent.x.ryan at oracle.com Wed May 2 06:51:19 2012 From: vincent.x.ryan at oracle.com (vincent.x.ryan at oracle.com) Date: Wed, 02 May 2012 13:51:19 +0000 Subject: hg: jdk8/tl/jdk: 7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10 Message-ID: <20120502135137.7263B470E8@hg.openjdk.java.net> Changeset: d78c6095dc98 Author: vinnie Date: 2012-05-02 14:50 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d78c6095dc98 7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10 Reviewed-by: mullan ! test/com/sun/crypto/provider/Mac/MacClone.java From alan.bateman at oracle.com Wed May 2 12:15:24 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Wed, 02 May 2012 19:15:24 +0000 Subject: hg: jdk8/tl/jdk: 7165102: Only run assertion on Integer autoboxing cache size once Message-ID: <20120502191548.7B127470F1@hg.openjdk.java.net> Changeset: bb2cefc89bc0 Author: forax Date: 2012-05-02 20:01 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bb2cefc89bc0 7165102: Only run assertion on Integer autoboxing cache size once Reviewed-by: darcy, alanb ! src/share/classes/java/lang/Integer.java From alan.bateman at oracle.com Wed May 2 13:47:22 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Wed, 02 May 2012 20:47:22 +0000 Subject: hg: jdk8/tl/jdk: 7160714: Strange or obsolete @see tags in some exception java.util javadoc Message-ID: <20120502204733.6B314470F7@hg.openjdk.java.net> Changeset: 531ebfd8eb65 Author: jgish Date: 2012-05-02 21:46 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/531ebfd8eb65 7160714: Strange or obsolete @see tags in some exception java.util javadoc Reviewed-by: mduigou, dholmes, alanb ! src/share/classes/java/util/NoSuchElementException.java From kumar.x.srinivasan at oracle.com Fri May 4 09:00:57 2012 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Fri, 04 May 2012 16:00:57 +0000 Subject: hg: jdk8/tl/langtools: 7166010: (javac) JavacMessager incorrectly restores log source file Message-ID: <20120504160059.9C88647156@hg.openjdk.java.net> Changeset: d10db3576c08 Author: ksrini Date: 2012-05-04 07:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/d10db3576c08 7166010: (javac) JavacMessager incorrectly restores log source file Reviewed-by: jjg Contributed-by: jan.lahoda at oracle.com ! src/share/classes/com/sun/tools/javac/processing/JavacMessager.java + test/tools/javac/processing/messager/MessagerDiags.java From lance.andersen at oracle.com Fri May 4 13:02:17 2012 From: lance.andersen at oracle.com (lance.andersen at oracle.com) Date: Fri, 04 May 2012 20:02:17 +0000 Subject: hg: jdk8/tl/jdk: 7166598: FilteredRowSetImpl can result in Invalid Cursor Position Message-ID: <20120504200228.53CE747161@hg.openjdk.java.net> Changeset: 4580652d9828 Author: lancea Date: 2012-05-04 16:00 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4580652d9828 7166598: FilteredRowSetImpl can result in Invalid Cursor Position Reviewed-by: lancea Contributed-by: Knut Anders Hatlen ! src/share/classes/com/sun/rowset/FilteredRowSetImpl.java From xuelei.fan at oracle.com Fri May 4 17:31:24 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Sat, 05 May 2012 00:31:24 +0000 Subject: hg: jdk8/tl/jdk: 7153184: NullPointerException when calling SSLEngineImpl.getSupportedCipherSuites Message-ID: <20120505003134.C962847165@hg.openjdk.java.net> Changeset: 41d3f7509e00 Author: xuelei Date: 2012-05-04 17:28 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/41d3f7509e00 7153184: NullPointerException when calling SSLEngineImpl.getSupportedCipherSuites Reviewed-by: weijun ! src/share/classes/sun/security/ssl/SSLContextImpl.java From littlee at linux.vnet.ibm.com Mon May 7 01:43:51 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Mon, 07 May 2012 08:43:51 +0000 Subject: hg: jdk8/tl/jdk: 7166048: Remove the embeded epoll data structure. Message-ID: <20120507084420.528C94718B@hg.openjdk.java.net> Changeset: 62557a1336c0 Author: zhouyx Date: 2012-05-07 16:43 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/62557a1336c0 7166048: Remove the embeded epoll data structure. Reviewed-by: alanb ! src/solaris/native/sun/nio/ch/EPollArrayWrapper.c From rob.mckenna at oracle.com Mon May 7 05:33:32 2012 From: rob.mckenna at oracle.com (rob.mckenna at oracle.com) Date: Mon, 07 May 2012 12:33:32 +0000 Subject: hg: jdk8/tl/jdk: 7166687: InetAddress.getLocalHost().getHostName() returns FQDN Message-ID: <20120507123402.865554718C@hg.openjdk.java.net> Changeset: b26c04717735 Author: robm Date: 2012-05-07 13:34 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b26c04717735 7166687: InetAddress.getLocalHost().getHostName() returns FQDN Reviewed-by: chegar ! src/solaris/native/java/net/Inet6AddressImpl.c From david.holmes at oracle.com Tue May 8 00:36:44 2012 From: david.holmes at oracle.com (david.holmes at oracle.com) Date: Tue, 08 May 2012 07:36:44 +0000 Subject: hg: jdk8/tl/jdk: 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed Message-ID: <20120508073706.E5A36471B4@hg.openjdk.java.net> Changeset: 48513d156965 Author: dholmes Date: 2012-05-08 02:59 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48513d156965 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed Summary: Perform class.getField inside a doPrivileged block Reviewed-by: chegar, psandoz ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java ! src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java + test/java/util/concurrent/atomic/AtomicUpdaters.java From Ulf.Zibis at gmx.de Tue May 8 03:02:51 2012 From: Ulf.Zibis at gmx.de (Ulf Zibis) Date: Tue, 08 May 2012 12:02:51 +0200 Subject: hg: jdk8/tl/jdk: 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed In-Reply-To: <20120508073706.E5A36471B4@hg.openjdk.java.net> References: <20120508073706.E5A36471B4@hg.openjdk.java.net> Message-ID: <4FA8EF4B.5070508@gmx.de> Hi all, I'm a little bit late, but I just have seen: (1) some indentations in the patch are broken (2) following code snipped is repeated many times: + ClassLoader cl = tclass.getClassLoader(); + ClassLoader ccl = caller.getClassLoader(); + if ((ccl != null) && (ccl != cl) && + ((cl == null) || !isAncestor(cl, ccl))) { + sun.reflect.misc.ReflectUtil.checkPackageAccess(tclass); + } Wouldn't it be better, to move it in a method, maybe in sun.reflect.misc.ReflectUtil ? -Ulf Am 08.05.2012 09:36, schrieb david.holmes at oracle.com: > Changeset: 48513d156965 > Author: dholmes > Date: 2012-05-08 02:59 -0400 > URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48513d156965 > > 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed > Summary: Perform class.getField inside a doPrivileged block > Reviewed-by: chegar, psandoz > > ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java > ! src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java > ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java > + test/java/util/concurrent/atomic/AtomicUpdaters.java > > From xueming.shen at oracle.com Tue May 8 10:55:29 2012 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Tue, 08 May 2012 17:55:29 +0000 Subject: hg: jdk8/tl/jdk: 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H Message-ID: <20120508175547.56E86471C5@hg.openjdk.java.net> Changeset: af209a223b6b Author: sherman Date: 2012-05-08 10:57 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/af209a223b6b 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H Summary: added propsoed constructs Reviewed-by: alanb ! src/share/classes/java/util/regex/Pattern.java ! test/java/util/regex/RegExTest.java From xueming.shen at oracle.com Tue May 8 11:14:46 2012 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Tue, 08 May 2012 18:14:46 +0000 Subject: hg: jdk8/tl/jdk: 7157656: (zipfs) SeekableByteChannel to entry in zip file always reports its position as 0 Message-ID: <20120508181456.B16E4471C6@hg.openjdk.java.net> Changeset: 1ece20885be4 Author: sherman Date: 2012-05-08 11:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1ece20885be4 7157656: (zipfs) SeekableByteChannel to entry in zip file always reports its position as 0 Summary: updated SeekableByteChannel.read() to count the bytes read correctly Reviewed-by: sherman Contributed-by: paul.sandoz at oracle.com ! src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java ! test/demo/zipfs/ZipFSTester.java ! test/demo/zipfs/basic.sh From xuelei.fan at oracle.com Tue May 8 17:57:37 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Wed, 09 May 2012 00:57:37 +0000 Subject: hg: jdk8/tl/jdk: 7167092: Need to put the return clause in the synchronized block Message-ID: <20120509005747.AADC5471D5@hg.openjdk.java.net> Changeset: fbf98cbd2e6b Author: xuelei Date: 2012-05-08 17:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fbf98cbd2e6b 7167092: Need to put the return clause in the synchronized block Summary: a regression fix for bug 7153184 Reviewed-by: wetmore ! src/share/classes/sun/security/ssl/SSLContextImpl.java From xuelei.fan at oracle.com Tue May 8 18:09:36 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Wed, 09 May 2012 01:09:36 +0000 Subject: hg: jdk8/tl/jdk: 7166570: JSSE certificate validation has started to fail for certificate chains Message-ID: <20120509010947.4AC6B471D8@hg.openjdk.java.net> Changeset: 0f63f3390ac9 Author: xuelei Date: 2012-05-08 18:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0f63f3390ac9 7166570: JSSE certificate validation has started to fail for certificate chains Reviewed-by: wetmore ! src/share/classes/sun/security/validator/SimpleValidator.java + test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/BasicConstraints.java From littlee at linux.vnet.ibm.com Tue May 8 20:21:27 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Wed, 09 May 2012 03:21:27 +0000 Subject: hg: jdk8/tl/jdk: 7165722: Invalid path in MemoryMonitor demo's README.txt Message-ID: <20120509032146.D6D62471DD@hg.openjdk.java.net> Changeset: abb63b7357a1 Author: luchsh Date: 2012-05-09 11:19 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/abb63b7357a1 7165722: Invalid path in MemoryMonitor demo's README.txt Reviewed-by: alanb, sla ! src/share/demo/management/MemoryMonitor/README.txt From kumar.x.srinivasan at oracle.com Wed May 9 09:29:07 2012 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Wed, 09 May 2012 16:29:07 +0000 Subject: hg: jdk8/tl/jdk: 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking Message-ID: <20120509162917.E58A2471F0@hg.openjdk.java.net> Changeset: 5e8caf6984f5 Author: ksrini Date: 2012-05-09 07:28 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5e8caf6984f5 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking Reviewed-by: alanb, dholmes, ksrini Contributed-by: youdwei at linux.vnet.ibm.com ! src/share/native/com/sun/java/util/jar/pack/jni.cpp From kurchi.subhra.hazra at oracle.com Wed May 9 11:15:02 2012 From: kurchi.subhra.hazra at oracle.com (kurchi.subhra.hazra at oracle.com) Date: Wed, 09 May 2012 18:15:02 +0000 Subject: hg: jdk8/tl/jdk: 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE Message-ID: <20120509181511.CE5FB471F8@hg.openjdk.java.net> Changeset: 59121a4c71c6 Author: khazra Date: 2012-05-09 11:14 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/59121a4c71c6 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE Summary: Insert null argument check in AbstractPreferences.remove() Reviewed-by: dholmes, chegar, alanb ! src/share/classes/java/util/prefs/AbstractPreferences.java ! test/java/util/prefs/RemoveNullKeyCheck.java From bradford.wetmore at oracle.com Wed May 9 16:34:25 2012 From: bradford.wetmore at oracle.com (bradford.wetmore at oracle.com) Date: Wed, 09 May 2012 23:34:25 +0000 Subject: hg: jdk8/tl/jdk: 7167362: SecureRandom.init should be converted, amendment to 7084245 Message-ID: <20120509233435.8C5CB47206@hg.openjdk.java.net> Changeset: 6438f1277df6 Author: wetmore Date: 2012-05-09 16:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6438f1277df6 7167362: SecureRandom.init should be converted, amendment to 7084245 Reviewed-by: sherman ! src/share/classes/sun/security/provider/SecureRandom.java From kurchi.subhra.hazra at oracle.com Wed May 9 16:57:06 2012 From: kurchi.subhra.hazra at oracle.com (kurchi.subhra.hazra at oracle.com) Date: Wed, 09 May 2012 23:57:06 +0000 Subject: hg: jdk8/tl/jdk: 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking Message-ID: <20120509235717.1BB084720C@hg.openjdk.java.net> Changeset: 5152c832745a Author: khazra Date: 2012-05-09 16:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5152c832745a 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking Summary: Set localAddress only when connection is established Reviewed-by: alanb ! src/share/classes/sun/nio/ch/SocketChannelImpl.java From sean.coffey at oracle.com Thu May 10 02:43:45 2012 From: sean.coffey at oracle.com (sean.coffey at oracle.com) Date: Thu, 10 May 2012 09:43:45 +0000 Subject: hg: jdk8/tl/jdk: 7163470: Build fails if javax.crypto src files not present Message-ID: <20120510094414.56FE047220@hg.openjdk.java.net> Changeset: fdf5e15293e6 Author: coffeys Date: 2012-05-10 10:45 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fdf5e15293e6 7163470: Build fails if javax.crypto src files not present Reviewed-by: valeriep ! make/com/oracle/security/ucrypto/Makefile ! make/common/shared/Defs-java.gmk ! make/sun/security/ec/Makefile ! make/sun/security/mscapi/Makefile ! make/sun/security/pkcs11/Makefile ! makefiles/com/oracle/security/ucrypto/Makefile ! makefiles/common/shared/Defs-java.gmk ! makefiles/sun/security/ec/Makefile ! makefiles/sun/security/mscapi/Makefile ! makefiles/sun/security/pkcs11/Makefile From valerie.peng at oracle.com Thu May 10 11:40:00 2012 From: valerie.peng at oracle.com (valerie.peng at oracle.com) Date: Thu, 10 May 2012 18:40:00 +0000 Subject: hg: jdk8/tl/jdk: 3 new changesets Message-ID: <20120510184042.669D047234@hg.openjdk.java.net> Changeset: 3e3017eba8ac Author: valeriep Date: 2012-05-08 17:57 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3e3017eba8ac 4963723: Implement SHA-224 Summary: Add support for SHA-224, SHA224withRSA, SHA224withECDSA, HmacSHA224 and OAEPwithSHA-224AndMGF1Padding. Reviewed-by: vinnie ! src/share/classes/com/sun/crypto/provider/HmacCore.java ! src/share/classes/com/sun/crypto/provider/HmacMD5.java ! src/share/classes/com/sun/crypto/provider/HmacPKCS12PBESHA1.java ! src/share/classes/com/sun/crypto/provider/HmacSHA1.java ! src/share/classes/com/sun/crypto/provider/KeyGeneratorCore.java ! src/share/classes/com/sun/crypto/provider/OAEPParameters.java ! src/share/classes/com/sun/crypto/provider/SunJCE.java ! src/share/classes/java/security/spec/MGF1ParameterSpec.java ! src/share/classes/java/security/spec/PSSParameterSpec.java ! src/share/classes/sun/security/ec/ECDSASignature.java ! src/share/classes/sun/security/ec/SunECEntries.java ! src/share/classes/sun/security/pkcs11/P11Digest.java ! src/share/classes/sun/security/pkcs11/P11Mac.java ! src/share/classes/sun/security/pkcs11/P11Signature.java ! src/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/share/classes/sun/security/pkcs11/wrapper/Functions.java ! src/share/classes/sun/security/provider/DigestBase.java ! src/share/classes/sun/security/provider/MD2.java ! src/share/classes/sun/security/provider/MD4.java ! src/share/classes/sun/security/provider/MD5.java ! src/share/classes/sun/security/provider/SHA.java ! src/share/classes/sun/security/provider/SHA2.java ! src/share/classes/sun/security/provider/SHA5.java ! src/share/classes/sun/security/provider/SunEntries.java ! src/share/classes/sun/security/rsa/RSASignature.java ! src/share/classes/sun/security/rsa/SunRsaSignEntries.java ! src/share/classes/sun/security/x509/AlgorithmId.java ! src/windows/classes/sun/security/mscapi/RSASignature.java ! src/windows/classes/sun/security/mscapi/SunMSCAPI.java ! test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java ! test/com/sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java ! test/com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java ! test/com/sun/crypto/provider/KeyGenerator/Test4628062.java ! test/com/sun/crypto/provider/Mac/MacClone.java ! test/com/sun/crypto/provider/Mac/MacKAT.java ! test/sun/security/mscapi/SignUsingNONEwithRSA.java ! test/sun/security/mscapi/SignUsingSHA2withRSA.java ! test/sun/security/pkcs11/MessageDigest/DigestKAT.java ! test/sun/security/pkcs11/MessageDigest/TestCloning.java ! test/sun/security/pkcs11/Signature/TestRSAKeyLength.java ! test/sun/security/pkcs11/ec/TestCurves.java ! test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java ! test/sun/security/pkcs11/rsa/TestSignatures.java ! test/sun/security/provider/MessageDigest/DigestKAT.java ! test/sun/security/provider/MessageDigest/Offsets.java ! test/sun/security/provider/MessageDigest/TestSHAClone.java ! test/sun/security/rsa/TestKeyPairGenerator.java ! test/sun/security/rsa/TestSignatures.java Changeset: dfce31760a2f Author: valeriep Date: 2012-05-08 18:57 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/dfce31760a2f Merge Changeset: 9f8210f23773 Author: valeriep Date: 2012-05-10 11:19 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9f8210f23773 Merge From kumar.x.srinivasan at oracle.com Thu May 10 13:53:31 2012 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Thu, 10 May 2012 20:53:31 +0000 Subject: hg: jdk8/tl/langtools: 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops Message-ID: <20120510205333.D760047244@hg.openjdk.java.net> Changeset: 833bab705918 Author: ksrini Date: 2012-05-10 12:32 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/833bab705918 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops Reviewed-by: jjg Contributed-by: jan.lahoda at oracle.com ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/diags/examples/ForeachBadInitialization.java ! test/tools/javac/parser/JavacParserTest.java From senseneyj at mail.nih.gov Thu May 10 14:48:34 2012 From: senseneyj at mail.nih.gov (Senseney, Justin (NIH/CIT) [E]) Date: Thu, 10 May 2012 17:48:34 -0400 Subject: RFE: 64 bit pointers needed Message-ID: <0CADA15E942196438C242C19FA72B4FC046E8796CB@NIHMLBX01.nih.gov> Title: RFE: 64 bit pointers needed Author: Justin Senseney Organization: National Institutes of Health Owner: Justin Senseney Created: 2012/04/17 Type: Feature State: Draft Exposure: Open Component: core/lang Scope: JDK JSR: TBD RFE: 4963452 (4850923, 4880587, 4088441, 6292967) Discussion: compiler-dev at openjdk.java.net Start: 2012/Q3 Depends: Blocks: Effort: XL Duration: L Template: 1.0 Internal-refs: Reviewed-by: Endorsed-by: Funded-by: Summary ------- As per the Java Language Specification, section 10.4, all array access in Java is done by using an int as index. Since an int is a signed 32bit value, this limits the total number of addressable elements of an array to 2**31 (about 2 billion). It should be possible to address an array using 64bit values. Goals ----- Improved handling of large datasets that need to be stored in contiguous arrays. Non-Goals --------- Not changing existing range of Integer Success Metrics --------------- Able to compile boolean[] a = new boolean[Long.MAX_VALUE]; Motivation ---------- While having access to 2 billion entries may seem sufficient, there are very compelling performance reasons to be able to use more in a single array. As an example, consider a square n*n matrix, stored as an array (either row or column major, doesn't matter which). Since an array stores at most 2**31 entries, this means that n=sqrt(2**31)=46341, thus the matrix cannot be very large. For multidimensional arrays this is an even more severe limitation (3d Tensors could at most be of size 1290). Description ----------- The scope of this work is extensive, however the solution may be quite technically feasible. Alternatives ------------ A workaround is to use an array of arrays (ie. double[][]). However there is no guarantee that successive rows will be laid of linearly in memory, and therefore performance may be severely penalized. Experimentally, performance may suffer by a factor of over 2, often far greater. Also, most existing matrix packages (ie. LAPACK) assumes linear storage, and are thus incompatible with a double[][] storage (requires double[]). Calling a LAPACK routine with a jagged storage thus requires extra array copying and memory allocation, and can further decrease performance and increase memory requirements. Testing ------- It should be possible to address arrays using 64bit integers (long?), as this provides a seamless transition for users of 64bit computers. Risks and Assumptions --------------------- Use of array of array constructs (use double[][] instead of double[]) possible as workaround. This feature is well implemented in C/C++ without any problem, so should be quite technically feasible to implement. Dependences ----------- None none. Impact ------ My group has requested this feature for several years. It is currently listed as one of the top 25 RFEs on http://bugs.sun.com/top25_rfes.do. Please help Java maintain its relevance by implementing this. I have several image processing applications that are severely limited by this bug, these images cannot be opened in most Java applications. These include electron microscopy and micro-CT images where storage of a single slice requires more entries than allowable in a Java array. Thank you for considering this RFE, Justin Senseney BIRSS/ISL/DCB/CIT/NIH 301-594-5887 301-480-0028 (fax) Building 12A/2015 http://mipav.cit.nih.gov http://dcb.cit.nih.gov/~senseneyj http://image.nih.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20120510/783f048b/attachment.html From littlee at linux.vnet.ibm.com Fri May 11 01:22:15 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Fri, 11 May 2012 08:22:15 +0000 Subject: hg: jdk8/tl/jdk: 7163874: InetAddress.isReachable should support pinging 0.0.0.0 Message-ID: <20120511082234.A2A0F47277@hg.openjdk.java.net> Changeset: c5a07e3dca63 Author: youdwei Date: 2012-05-11 16:20 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c5a07e3dca63 7163874: InetAddress.isReachable should support pinging 0.0.0.0 Reviewed-by: alanb, chegar ! src/share/native/java/net/net_util.h ! src/solaris/native/java/net/Inet4AddressImpl.c ! src/solaris/native/java/net/Inet6AddressImpl.c ! src/solaris/native/java/net/net_util_md.c + test/java/net/Inet4Address/PingThis.java From sean.coffey at oracle.com Fri May 11 02:09:22 2012 From: sean.coffey at oracle.com (sean.coffey at oracle.com) Date: Fri, 11 May 2012 09:09:22 +0000 Subject: hg: jdk8/tl/jdk: 7167359: (tz) SEGV on solaris if TZ variable not set Message-ID: <20120511090932.BD28847278@hg.openjdk.java.net> Changeset: 3e83229a3779 Author: coffeys Date: 2012-05-11 10:09 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3e83229a3779 7167359: (tz) SEGV on solaris if TZ variable not set Reviewed-by: okutsu ! src/solaris/native/java/util/TimeZone_md.c From sundararajan.athijegannathan at oracle.com Fri May 11 07:34:46 2012 From: sundararajan.athijegannathan at oracle.com (sundararajan.athijegannathan at oracle.com) Date: Fri, 11 May 2012 14:34:46 +0000 Subject: hg: jdk8/tl/langtools: 7166990: java/compiler Inherited interfaces using generics sometimes looses the generic type Message-ID: <20120511143449.B11294728C@hg.openjdk.java.net> Changeset: 96a8278e323c Author: sundar Date: 2012-05-11 20:06 +0530 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/96a8278e323c 7166990: java/compiler Inherited interfaces using generics sometimes looses the generic type Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/comp/Lower.java + test/tools/javac/TryWithResources/T7164542.java From mike.duigou at oracle.com Fri May 11 11:33:09 2012 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 11 May 2012 18:33:09 +0000 Subject: hg: jdk8/tl/jdk: 7071826: Avoid benign race condition in initialization of UUID Message-ID: <20120511183329.C6DDD47296@hg.openjdk.java.net> Changeset: 944676ef3c58 Author: mduigou Date: 2012-05-11 11:31 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/944676ef3c58 7071826: Avoid benign race condition in initialization of UUID Summary: Avoids mostly benign but sometimes expensive race condition on initialization of UUID.numberGenerator which is used by UUID.randomUUID() Reviewed-by: alanb, chegar ! src/share/classes/java/util/UUID.java ! test/java/util/UUID/UUIDTest.java From lana.steuck at oracle.com Fri May 11 13:24:19 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:19 +0000 Subject: hg: jdk8/tl: 6 new changesets Message-ID: <20120511202419.87820472A2@hg.openjdk.java.net> Changeset: afeeed8e5f8c Author: ihse Date: 2012-04-30 12:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/afeeed8e5f8c 7165277: Fix missing execute permission issue running logger.sh Reviewed-by: ohair ! common/autoconf/configure ! common/autoconf/configure.ac Changeset: b2972095a4b1 Author: katleman Date: 2012-05-02 15:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/b2972095a4b1 Merge Changeset: 2eeb9fac7dfc Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/2eeb9fac7dfc Added tag jdk8-b37 for changeset b2972095a4b1 ! .hgtags Changeset: 2f06b15e2439 Author: ewendeli Date: 2012-05-03 14:17 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/2f06b15e2439 7154130: Add Mac OS X Instructions to README-builds.html Reviewed-by: ohair Contributed-by: edvard.wendelin at oracle.com ! README-builds.html Changeset: d939bd0ab13c Author: katleman Date: 2012-05-09 16:12 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/d939bd0ab13c Merge Changeset: b67bdaca36c2 Author: katleman Date: 2012-05-10 10:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/b67bdaca36c2 Added tag jdk8-b38 for changeset d939bd0ab13c ! .hgtags From lana.steuck at oracle.com Fri May 11 13:24:17 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:17 +0000 Subject: hg: jdk8/tl/corba: 3 new changesets Message-ID: <20120511202421.7AE32472A3@hg.openjdk.java.net> Changeset: 2d2f6b0f855b Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/2d2f6b0f855b Added tag jdk8-b37 for changeset 83fac66442cf ! .hgtags Changeset: b8cbfb31139f Author: katleman Date: 2012-05-09 13:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/b8cbfb31139f Merge Changeset: 785af00e2827 Author: katleman Date: 2012-05-10 10:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/785af00e2827 Added tag jdk8-b38 for changeset b8cbfb31139f ! .hgtags From lana.steuck at oracle.com Fri May 11 13:24:24 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:24 +0000 Subject: hg: jdk8/tl/jaxws: 2 new changesets Message-ID: <20120511202431.A4534472A4@hg.openjdk.java.net> Changeset: ac1ba3b56775 Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/ac1ba3b56775 Added tag jdk8-b37 for changeset b05a948db1b6 ! .hgtags Changeset: 7f6b44fd3034 Author: katleman Date: 2012-05-10 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/7f6b44fd3034 Added tag jdk8-b38 for changeset ac1ba3b56775 ! .hgtags From lana.steuck at oracle.com Fri May 11 13:24:28 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:28 +0000 Subject: hg: jdk8/tl/langtools: 3 new changesets Message-ID: <20120511202437.85022472A5@hg.openjdk.java.net> Changeset: 1f224f160aa8 Author: katleman Date: 2012-05-09 13:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/1f224f160aa8 Added tag jdk8-b37 for changeset 5891b38985e8 ! .hgtags Changeset: a9f547c218d9 Author: katleman Date: 2012-05-10 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/a9f547c218d9 Added tag jdk8-b38 for changeset 1f224f160aa8 ! .hgtags Changeset: 885806e74240 Author: lana Date: 2012-05-11 12:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/885806e74240 Merge From lana.steuck at oracle.com Fri May 11 13:24:27 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:27 +0000 Subject: hg: jdk8/tl/jaxp: 4 new changesets Message-ID: <20120511202441.17C96472A6@hg.openjdk.java.net> Changeset: aabc08ea546f Author: ohair Date: 2012-04-30 16:03 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/aabc08ea546f 7165312: Fix jaxp source movement for new build-infra Reviewed-by: ohrstrom ! makefiles/Makefile Changeset: 90204bfab4e2 Author: katleman Date: 2012-05-02 15:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/90204bfab4e2 Merge Changeset: 5bbe0cb6f2f2 Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/5bbe0cb6f2f2 Added tag jdk8-b37 for changeset 90204bfab4e2 ! .hgtags Changeset: f95fdbe525c8 Author: katleman Date: 2012-05-10 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/f95fdbe525c8 Added tag jdk8-b38 for changeset 5bbe0cb6f2f2 ! .hgtags From lana.steuck at oracle.com Fri May 11 13:24:32 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:24:32 +0000 Subject: hg: jdk8/tl/hotspot: 21 new changesets Message-ID: <20120511202518.77CC9472A7@hg.openjdk.java.net> Changeset: 4ee58fcab520 Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4ee58fcab520 Added tag jdk8-b37 for changeset bfcf92bfefb8 ! .hgtags Changeset: 3c91f2c9fd21 Author: amurillo Date: 2012-04-20 17:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3c91f2c9fd21 7163193: new hotspot build - hs24-b09 Reviewed-by: jcoomes ! make/hotspot_version Changeset: f3a4ee95783b Author: kevinw Date: 2012-04-20 14:55 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f3a4ee95783b 7162488: VM not printing unknown -XX options Reviewed-by: dholmes, kamg ! src/share/vm/runtime/arguments.cpp + test/runtime/7162488/Test7162488.sh Changeset: 29ee40a082d3 Author: sla Date: 2012-04-23 13:30 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/29ee40a082d3 7162063: libsaproc debug print should format size_t correctly on 64bit platform Reviewed-by: rbackman, mgronlun, dholmes ! agent/src/os/linux/ps_core.c Changeset: f33c4d0f4c9e Author: dcubed Date: 2012-04-23 11:03 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f33c4d0f4c9e Merge Changeset: d652a62d6e03 Author: dcubed Date: 2012-03-23 11:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files. Reviewed-by: dholmes, ohair, sspitsyn ! make/Makefile ! make/linux/Makefile ! make/linux/makefiles/buildtree.make ! make/linux/makefiles/defs.make ! make/linux/makefiles/gcc.make ! make/linux/makefiles/jsig.make ! make/linux/makefiles/saproc.make ! make/linux/makefiles/vm.make ! make/solaris/Makefile ! make/solaris/makefiles/buildtree.make ! make/solaris/makefiles/defs.make ! make/solaris/makefiles/dtrace.make ! make/solaris/makefiles/jsig.make ! make/solaris/makefiles/saproc.make ! make/solaris/makefiles/sparcWorks.make ! make/solaris/makefiles/vm.make ! make/windows/build.make ! make/windows/makefiles/compile.make ! make/windows/makefiles/debug.make ! make/windows/makefiles/defs.make ! make/windows/makefiles/fastdebug.make ! make/windows/makefiles/product.make ! make/windows/makefiles/sa.make Changeset: 744728c16316 Author: dcubed Date: 2012-04-03 09:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds Summary: Build option FULL_DEBUG_SYMBOLS=0 only affects product builds. Reviewed-by: ohair, jmelvin, sspitsyn ! make/Makefile ! make/linux/Makefile ! make/linux/makefiles/defs.make ! make/solaris/Makefile ! make/solaris/makefiles/defs.make ! make/windows/makefiles/defs.make Changeset: 74c359c4a9e5 Author: dcubed Date: 2012-04-24 15:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/74c359c4a9e5 Merge ! make/Makefile ! make/linux/Makefile ! make/linux/makefiles/buildtree.make ! make/linux/makefiles/defs.make ! make/linux/makefiles/gcc.make ! make/linux/makefiles/vm.make ! make/solaris/makefiles/buildtree.make ! make/solaris/makefiles/defs.make ! make/solaris/makefiles/sparcWorks.make ! make/solaris/makefiles/vm.make ! make/windows/build.make ! make/windows/makefiles/compile.make ! make/windows/makefiles/debug.make ! make/windows/makefiles/defs.make ! make/windows/makefiles/fastdebug.make ! make/windows/makefiles/product.make Changeset: d6c393b0164b Author: dcubed Date: 2012-04-25 15:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d6c393b0164b 7164344: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Solaris and Windows Summary: Disable FDS by default on Solaris; disable ZIP_DEBUGINFO_FILES by default on Windows. Reviewed-by: acorn, sspitsyn ! make/solaris/makefiles/defs.make ! make/windows/makefiles/defs.make Changeset: 973046802b6f Author: dlong Date: 2012-04-26 16:24 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/973046802b6f 7162955: Attach api on Solaris, too many open files Summary: Release server-side socket after client receives it. Reviewed-by: sla, dsamersoff, dcubed, acorn Contributed-by: dean.long at oracle.com ! src/os/solaris/vm/attachListener_solaris.cpp Changeset: 6f0612ea55ce Author: jprovino Date: 2012-05-02 15:47 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6f0612ea55ce Merge Changeset: 9f059abe8cf2 Author: jmasa Date: 2012-03-29 19:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9f059abe8cf2 7131629: Generalize the CMS free list code Summary: Make the FreeChunk, FreeList, TreeList, and BinaryTreeDictionary classes usable outside CMS. Reviewed-by: brutisso, johnc, jwilhelm Contributed-by: coleen.phillimore at oracle.com - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp + src/share/vm/memory/binaryTreeDictionary.cpp + src/share/vm/memory/binaryTreeDictionary.hpp + src/share/vm/memory/freeBlockDictionary.cpp + src/share/vm/memory/freeBlockDictionary.hpp + src/share/vm/memory/freeList.cpp + src/share/vm/memory/freeList.hpp ! src/share/vm/memory/generationSpec.cpp ! src/share/vm/precompiled/precompiled.hpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 8a2e5a6a19a4 Author: johnc Date: 2012-04-25 10:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8a2e5a6a19a4 7143490: G1: Remove HeapRegion::_top_at_conc_mark_count Summary: Removed the HeapRegion::_top_at_conc_mark_count field. It is no longer needed as a result of the changes for 6888336 and 7127706. Refactored the closures that finalize and verify the liveness counting data so that common functionality was placed into a base class. Reviewed-by: brutisso, tonyp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/g1/heapRegion.inline.hpp Changeset: f69a5d43dc19 Author: jmasa Date: 2012-04-25 09:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f69a5d43dc19 7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary* Summary: Fix naming style to be consistent with the predominant hotspot style. Reviewed-by: ysr, brutisso ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp ! src/share/vm/gc_implementation/shared/allocationStats.hpp ! src/share/vm/memory/binaryTreeDictionary.cpp ! src/share/vm/memory/binaryTreeDictionary.hpp ! src/share/vm/memory/freeBlockDictionary.cpp ! src/share/vm/memory/freeBlockDictionary.hpp ! src/share/vm/memory/freeList.cpp ! src/share/vm/memory/freeList.hpp Changeset: ee89f2110312 Author: jmasa Date: 2012-04-25 15:51 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ee89f2110312 Merge Changeset: 48fac5d60c3c Author: brutisso Date: 2012-04-25 12:36 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/48fac5d60c3c 7163848: G1: Log GC Cause for a GC Reviewed-by: johnc, jwilhelm, jmasa ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Changeset: bb18e8eecb7e Author: jcoomes Date: 2012-05-04 10:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/bb18e8eecb7e Merge - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp Changeset: 7d5ec8bf38d1 Author: amurillo Date: 2012-05-04 14:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7d5ec8bf38d1 Merge - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp - src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp Changeset: 4e6554041847 Author: amurillo Date: 2012-05-04 14:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4e6554041847 Added tag hs24-b09 for changeset 7d5ec8bf38d1 ! .hgtags Changeset: 637c3f5f068f Author: amurillo Date: 2012-05-09 14:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/637c3f5f068f Merge ! .hgtags Changeset: 3c394919ca69 Author: katleman Date: 2012-05-10 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3c394919ca69 Added tag jdk8-b38 for changeset 637c3f5f068f ! .hgtags From lana.steuck at oracle.com Fri May 11 13:26:12 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Fri, 11 May 2012 20:26:12 +0000 Subject: hg: jdk8/tl/jdk: 26 new changesets Message-ID: <20120511203038.395E8472A8@hg.openjdk.java.net> Changeset: 8e3fb7dd21cd Author: skovatch Date: 2012-04-25 12:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8e3fb7dd21cd 7128699: Fix bundle name so it contains the bugfix number in the name. Reviewed-by: robilad ! make/common/Release-macosx.gmk Changeset: 919be2f7fd6e Author: cgruszka Date: 2012-04-27 14:37 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/919be2f7fd6e Merge Changeset: 762661efef30 Author: jgodinez Date: 2012-04-24 13:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/762661efef30 7157659: [macosx] Landscape Printing orientation doesn't work Reviewed-by: bae, prr ! src/macosx/native/sun/awt/PrinterView.m Changeset: cdaadcc2c6a4 Author: jgodinez Date: 2012-04-26 13:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cdaadcc2c6a4 7013850: Please change the mnemonic assignment system to avoid translation issue Reviewed-by: prr, mfang ! src/share/classes/sun/print/ServiceDialog.java ! src/share/classes/sun/print/resources/serviceui.properties ! src/share/classes/sun/print/resources/serviceui_de.properties ! src/share/classes/sun/print/resources/serviceui_es.properties ! src/share/classes/sun/print/resources/serviceui_fr.properties ! src/share/classes/sun/print/resources/serviceui_it.properties ! src/share/classes/sun/print/resources/serviceui_ja.properties ! src/share/classes/sun/print/resources/serviceui_ko.properties ! src/share/classes/sun/print/resources/serviceui_pt_BR.properties ! src/share/classes/sun/print/resources/serviceui_sv.properties ! src/share/classes/sun/print/resources/serviceui_zh_CN.properties ! src/share/classes/sun/print/resources/serviceui_zh_TW.properties Changeset: c2d29a375871 Author: lana Date: 2012-04-26 18:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c2d29a375871 Merge Changeset: 4a19075bb989 Author: lana Date: 2012-05-02 09:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4a19075bb989 Merge Changeset: 44beb8a52aec Author: zhouyx Date: 2012-04-20 10:34 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/44beb8a52aec 7129742: Unable to view focus in Non-Editable TextArea Summary: Make sure the cursor is visible by setVisible(true) Reviewed-by: rupashka, alexp ! src/solaris/classes/sun/awt/X11/XTextAreaPeer.java ! src/solaris/classes/sun/awt/X11/XTextFieldPeer.java + test/java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java Changeset: dfa2ea47257d Author: luchsh Date: 2012-04-20 13:13 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/dfa2ea47257d 7055065: NullPointerException when sorting JTable with empty cell Reviewed-by: rupashka ! src/share/classes/javax/swing/JTable.java + test/javax/swing/JTable/7055065/bug7055065.java Changeset: 738b32fc3ef1 Author: anthony Date: 2012-04-24 17:47 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/738b32fc3ef1 7150109: [macosx] the Frame showed incomplete. Summary: Open-source the tests Reviewed-by: art + test/java/awt/Frame/FrameStateTest/FrameStateTest.html + test/java/awt/Frame/FrameStateTest/FrameStateTest.java Changeset: 9ed029a0326d Author: anthony Date: 2012-04-24 19:12 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9ed029a0326d 7163898: add isLoggable() check to doLog() Summary: Add the check and return immediately if it's false Reviewed-by: anthony, mchung, sla Contributed-by: Nicolas Carranza ! src/share/classes/sun/util/logging/PlatformLogger.java Changeset: 4a0f6ef43a09 Author: anthony Date: 2012-04-24 20:39 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4a0f6ef43a09 7131021: [macosx] Consider using system properties to pass arguments from the launcher to AWT/SplashScreen Summary: Document the environment variables and add tests Reviewed-by: ksrini ! src/macosx/bin/java_md_macosx.c + test/tools/launcher/EnvironmentVariables.java ! test/tools/launcher/TestHelper.java + test/tools/launcher/TestSpecialArgs.java Changeset: 36fd5078198b Author: alexsch Date: 2012-04-25 16:48 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/36fd5078198b 7163482: [macosx] Regtest closed/javax/swing/JTree/4908142/bug4908142.java intermittent failure Reviewed-by: rupashka + test/javax/swing/JTree/4908142/bug4908142.java Changeset: f1d1dab11a06 Author: leonidr Date: 2012-04-25 18:15 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f1d1dab11a06 7154480: [macosx] Not all popup menu items are visible Reviewed-by: art ! src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java ! src/share/classes/javax/swing/JPopupMenu.java ! src/share/classes/sun/awt/SunToolkit.java Changeset: 340cda7e1430 Author: luchsh Date: 2012-04-26 12:39 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/340cda7e1430 7154030: java.awt.Component.hide() does not repaint parent component Reviewed-by: rupashka ! src/share/classes/javax/swing/JComponent.java + test/javax/swing/JComponent/7154030/bug7154030.java Changeset: 6314933aeaa9 Author: alexp Date: 2012-04-26 21:16 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6314933aeaa9 7124210: [macosx] Replacing text in a TextField does generate an extra TextEvent Reviewed-by: serb ! src/macosx/classes/sun/lwawt/LWTextAreaPeer.java ! src/macosx/classes/sun/lwawt/LWTextComponentPeer.java ! src/macosx/classes/sun/lwawt/LWTextFieldPeer.java Changeset: 4184e5cbf46e Author: alexp Date: 2012-04-26 21:25 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4184e5cbf46e 7124328: [macosx] javax.swing.JDesktopPane.getAllFramesInLayer returns unexpected value Reviewed-by: anthony ! src/share/classes/javax/swing/JDesktopPane.java Changeset: d148d3d194af Author: lana Date: 2012-04-26 18:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d148d3d194af Merge Changeset: bbbf4e63562b Author: dcherepanov Date: 2012-05-02 13:53 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bbbf4e63562b 7154062: [macosx] Mouse cursor isn't updated in applets Reviewed-by: anthony, art ! src/macosx/classes/sun/lwawt/macosx/CCursorManager.java ! src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java ! src/macosx/native/sun/awt/CCursorManager.m Changeset: 0fad89bd606b Author: alexsch Date: 2012-05-02 17:54 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0fad89bd606b 7154048: [macosx] At least drag twice, the toolbar can be dragged to the left side Reviewed-by: anthony, leonidr ! src/macosx/classes/sun/lwawt/LWWindowPeer.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java ! src/macosx/native/sun/awt/AWTView.h ! src/macosx/native/sun/awt/AWTView.m ! src/macosx/native/sun/awt/AWTWindow.h ! src/macosx/native/sun/awt/AWTWindow.m + test/java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java + test/java/awt/Mouse/EnterExitEvents/DragWindowTest.java + test/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java ! test/java/awt/regtesthelpers/Util.java Changeset: f906d6068b43 Author: lana Date: 2012-05-02 09:54 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f906d6068b43 Merge Changeset: 717582c056f3 Author: lana Date: 2012-05-02 10:17 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/717582c056f3 Merge - src/macosx/bin/amd64/jvm.cfg - src/share/classes/sun/security/action/LoadLibraryAction.java ! test/tools/launcher/TestHelper.java - test/tools/pack200/dyn.jar - test/tools/pack200/pack200-verifier/src/xmlkit/ClassSyntax.java - test/tools/pack200/pack200-verifier/src/xmlkit/ClassWriter.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionAssembler.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionSyntax.java Changeset: bc0f9e693620 Author: lana Date: 2012-05-08 13:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bc0f9e693620 Merge - src/macosx/bin/amd64/jvm.cfg - src/share/classes/sun/security/action/LoadLibraryAction.java - test/tools/pack200/dyn.jar - test/tools/pack200/pack200-verifier/src/xmlkit/ClassSyntax.java - test/tools/pack200/pack200-verifier/src/xmlkit/ClassWriter.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionAssembler.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionSyntax.java Changeset: 185821106403 Author: katleman Date: 2012-05-09 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/185821106403 Added tag jdk8-b37 for changeset 9e82ac15ab80 ! .hgtags Changeset: c45f3509a707 Author: katleman Date: 2012-05-09 13:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c45f3509a707 Merge - src/macosx/bin/amd64/jvm.cfg - src/share/classes/sun/security/action/LoadLibraryAction.java - test/tools/pack200/dyn.jar - test/tools/pack200/pack200-verifier/src/xmlkit/ClassSyntax.java - test/tools/pack200/pack200-verifier/src/xmlkit/ClassWriter.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionAssembler.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionSyntax.java Changeset: b5726775b0d8 Author: katleman Date: 2012-05-10 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b5726775b0d8 Added tag jdk8-b38 for changeset c45f3509a707 ! .hgtags Changeset: 85d7677a75bf Author: lana Date: 2012-05-11 12:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/85d7677a75bf Merge From stuart.marks at oracle.com Fri May 11 14:26:25 2012 From: stuart.marks at oracle.com (stuart.marks at oracle.com) Date: Fri, 11 May 2012 21:26:25 +0000 Subject: hg: jdk8/tl/jdk: 7144861: speed up RMI activation tests Message-ID: <20120511212644.C182F472AA@hg.openjdk.java.net> Changeset: f131d4361faf Author: olagneau Date: 2012-05-11 14:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f131d4361faf 7144861: speed up RMI activation tests Reviewed-by: alanb, smarks, dholmes, dmocek ! test/java/rmi/activation/checkusage/CheckUsage.java ! test/java/rmi/testlibrary/ActivationLibrary.java ! test/java/rmi/testlibrary/JavaVM.java ! test/java/rmi/testlibrary/RMID.java ! test/java/rmi/testlibrary/StreamPipe.java ! test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java From xuelei.fan at oracle.com Mon May 14 07:27:51 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Mon, 14 May 2012 14:27:51 +0000 Subject: hg: jdk8/tl/jdk: 7167988: PKIX CertPathBuilder in reverse mode doesn't work if more than one trust anchor is specified Message-ID: <20120514142802.3D861472EA@hg.openjdk.java.net> Changeset: df3152beef2f Author: xuelei Date: 2012-05-14 07:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/df3152beef2f 7167988: PKIX CertPathBuilder in reverse mode doesn't work if more than one trust anchor is specified Reviewed-by: mullan ! src/share/classes/sun/security/provider/certpath/SunCertPathBuilder.java + test/sun/security/provider/certpath/ReverseBuilder/ReverseBuild.java From dmitriy.samersoff at oracle.com Tue May 15 05:49:20 2012 From: dmitriy.samersoff at oracle.com (dmitriy.samersoff at oracle.com) Date: Tue, 15 May 2012 12:49:20 +0000 Subject: hg: jdk8/tl/jdk: 7164191: properties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario Message-ID: <20120515124941.2EF834731A@hg.openjdk.java.net> Changeset: df33f5f750ec Author: dsamersoff Date: 2012-05-15 16:46 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/df33f5f750ec 7164191: properties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario Reviewed-by: dholmes, sla Contributed-by: Deven You ! src/share/classes/sun/management/Agent.java + test/sun/management/AgentCMETest.java From kurchi.subhra.hazra at oracle.com Tue May 15 11:52:37 2012 From: kurchi.subhra.hazra at oracle.com (kurchi.subhra.hazra at oracle.com) Date: Tue, 15 May 2012 18:52:37 +0000 Subject: hg: jdk8/tl/jdk: 7164636: (prefs) Cleanup src/macosx/classes/java/util/prefs Message-ID: <20120515185255.5F19F47323@hg.openjdk.java.net> Changeset: 9a18e318f95a Author: khazra Date: 2012-05-15 11:51 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9a18e318f95a 7164636: (prefs) Cleanup src/macosx/classes/java/util/prefs Summary: Remove rawtype usages and other code cleanup Reviewed-by: chegar, briangoetz ! src/macosx/classes/java/util/prefs/MacOSXPreferences.java ! src/macosx/classes/java/util/prefs/MacOSXPreferencesFactory.java ! src/macosx/classes/java/util/prefs/MacOSXPreferencesFile.java From alan.bateman at oracle.com Wed May 16 04:45:16 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Wed, 16 May 2012 11:45:16 +0000 Subject: hg: jdk8/tl/jdk: 7168505: (bf) MappedByteBuffer.load does not load buffer's content into memory Message-ID: <20120516114536.A425D4734C@hg.openjdk.java.net> Changeset: 332bebb463d1 Author: alanb Date: 2012-05-16 12:43 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/332bebb463d1 7168505: (bf) MappedByteBuffer.load does not load buffer's content into memory Reviewed-by: mduigou, forax ! src/share/classes/java/nio/MappedByteBuffer.java From daniel.daugherty at oracle.com Thu May 17 07:59:51 2012 From: daniel.daugherty at oracle.com (daniel.daugherty at oracle.com) Date: Thu, 17 May 2012 14:59:51 +0000 Subject: hg: jdk8/tl/jdk: 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231 Message-ID: <20120517150002.474624738B@hg.openjdk.java.net> Changeset: ce165aa48dcb Author: dcubed Date: 2012-05-17 06:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ce165aa48dcb 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231 Summary: ZIP libjsig.debuginfo links into libjsig.diz files since aurora doesn't like dangling symlinks Reviewed-by: katleman ! make/java/redist/Makefile From rob.mckenna at oracle.com Thu May 17 14:40:58 2012 From: rob.mckenna at oracle.com (rob.mckenna at oracle.com) Date: Thu, 17 May 2012 21:40:58 +0000 Subject: hg: jdk8/tl/jdk: 7168110: Misleading jstack error message Message-ID: <20120517214108.601F94739F@hg.openjdk.java.net> Changeset: 178c480998b1 Author: robm Date: 2012-05-17 22:42 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/178c480998b1 7168110: Misleading jstack error message Reviewed-by: alanb, dsamersoff ! src/windows/native/sun/tools/attach/WindowsVirtualMachine.c From xuelei.fan at oracle.com Thu May 17 22:00:42 2012 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Fri, 18 May 2012 05:00:42 +0000 Subject: hg: jdk8/tl/jdk: 7145960: sun/security/mscapi/ShortRSAKey1024.sh failing on windows Message-ID: <20120518050052.B838E473D0@hg.openjdk.java.net> Changeset: 9fe6ebbe5895 Author: xuelei Date: 2012-05-17 21:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9fe6ebbe5895 7145960: sun/security/mscapi/ShortRSAKey1024.sh failing on windows Reviewed-by: vinnie, wetmore ! test/sun/security/mscapi/ShortRSAKey1024.sh ! test/sun/security/mscapi/ShortRSAKey512.sh ! test/sun/security/mscapi/ShortRSAKey768.sh From valerie.peng at oracle.com Fri May 18 12:49:05 2012 From: valerie.peng at oracle.com (valerie.peng at oracle.com) Date: Fri, 18 May 2012 19:49:05 +0000 Subject: hg: jdk8/tl/jdk: 7169496: Problem with the SHA-224 support for SunMSCAPI provider Message-ID: <20120518194916.6B505473ED@hg.openjdk.java.net> Changeset: af1030be726a Author: valeriep Date: 2012-05-18 12:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/af1030be726a 7169496: Problem with the SHA-224 support for SunMSCAPI provider Summary: Remove SHA224withRSA signature from SunMSCAPI provider due to lack of windows support. Reviewed-by: vinnie ! src/windows/classes/sun/security/mscapi/RSASignature.java ! src/windows/classes/sun/security/mscapi/SunMSCAPI.java ! test/sun/security/mscapi/SignUsingNONEwithRSA.java ! test/sun/security/mscapi/SignUsingSHA2withRSA.java From weijun.wang at oracle.com Mon May 21 00:41:17 2012 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Mon, 21 May 2012 07:41:17 +0000 Subject: hg: jdk8/tl/jdk: 7170308: timing error in the krb5 test SSL.java Message-ID: <20120521074127.D574B47424@hg.openjdk.java.net> Changeset: 72af24348b2b Author: weijun Date: 2012-05-21 15:40 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/72af24348b2b 7170308: timing error in the krb5 test SSL.java Reviewed-by: xuelei ! test/sun/security/krb5/auto/SSL.java From alan.bateman at oracle.com Mon May 21 02:42:42 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Mon, 21 May 2012 09:42:42 +0000 Subject: hg: jdk8/tl/jdk: 7170203: TEST_BUG: test/java/nio/MappedByteBuffer/Truncate.java failing intermittently Message-ID: <20120521094309.40EA347426@hg.openjdk.java.net> Changeset: 9cb304dd71d4 Author: alanb Date: 2012-05-21 10:41 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9cb304dd71d4 7170203: TEST_BUG: test/java/nio/MappedByteBuffer/Truncate.java failing intermittently Reviewed-by: chegar ! test/java/nio/MappedByteBuffer/Truncate.java From kumar.x.srinivasan at oracle.com Mon May 21 09:41:15 2012 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Mon, 21 May 2012 16:41:15 +0000 Subject: hg: jdk8/tl/jdk: 7170087: tools/launcher/Arrghs.java test has wrong bugID for 7151434 Message-ID: <20120521164139.5E9C747444@hg.openjdk.java.net> Changeset: f109feb13698 Author: ksrini Date: 2012-05-21 09:40 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f109feb13698 7170087: tools/launcher/Arrghs.java test has wrong bugID for 7151434 Reviewed-by: ohair ! test/tools/launcher/Arrrghs.java From staffan.larsen at oracle.com Mon May 21 10:29:21 2012 From: staffan.larsen at oracle.com (staffan.larsen at oracle.com) Date: Mon, 21 May 2012 17:29:21 +0000 Subject: hg: jdk8/tl/jdk: 7167157: jcmd command file parsing does not respect the "stop" command Message-ID: <20120521172931.4584047447@hg.openjdk.java.net> Changeset: 0a1ef7e07e01 Author: sla Date: 2012-05-21 19:28 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0a1ef7e07e01 7167157: jcmd command file parsing does not respect the "stop" command Reviewed-by: alanb, dsamersoff, nloodin ! src/share/classes/sun/tools/jcmd/JCmd.java From james.holmlund at oracle.com Mon May 21 16:16:39 2012 From: james.holmlund at oracle.com (james.holmlund at oracle.com) Date: Mon, 21 May 2012 23:16:39 +0000 Subject: hg: jdk8/tl/langtools: 7157798: Add 6 test scenarios for testing inheritance of multiple same-name methods from mulitple interfaces Message-ID: <20120521231643.477004744C@hg.openjdk.java.net> Changeset: f5dbd6895994 Author: jjh Date: 2012-05-21 16:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f5dbd6895994 7157798: Add 6 test scenarios for testing inheritance of multiple same-name methods from mulitple interfaces Reviewed-by: mcimadamore Contributed-by: sue.wei at oracle.com + test/tools/javac/generics/rawOverride/7157798/Test1.java + test/tools/javac/generics/rawOverride/7157798/Test2.java + test/tools/javac/generics/rawOverride/7157798/Test3.java + test/tools/javac/generics/rawOverride/7157798/Test3.out + test/tools/javac/generics/rawOverride/7157798/Test4.java + test/tools/javac/generics/rawOverride/7157798/Test4.out From aleksey.shipilev at gmail.com Tue May 22 03:07:16 2012 From: aleksey.shipilev at gmail.com (Aleksey Shipilev) Date: Tue, 22 May 2012 13:07:16 +0300 Subject: ARM and repeating exceptions Message-ID: Hi, There is some understandable, but still weird behavior in ARM. Should the code cache or throw the same exception on some op(), and close(), then ARM block will throw IllegalArgumentException. The minimal test case is [1]. I think it can be fixed with simple fix in javac desugaring scheme, placing additional check if exception from close() is actually the original exception, and not trying to suppress it. Thanks, Aleksey. [1] import java.io.IOException; public class ArmTest { // fails with IllegalArgumentException at Throwable.addSuppressed() public static void main(String[] args) { try (MyAutoCloseable worker = new MyAutoCloseable()) { worker.doWork(); } catch (IOException e) { throw new IllegalStateException("Chained", e); } } private static class MyAutoCloseable implements AutoCloseable { private static final IOException EXCEPTION = new IOException(); public void doWork() throws IOException { throw EXCEPTION; } public void close() throws IOException { throw EXCEPTION; } } } From joe.darcy at oracle.com Tue May 22 16:41:24 2012 From: joe.darcy at oracle.com (Joseph Darcy) Date: Tue, 22 May 2012 16:41:24 -0700 Subject: ARM and repeating exceptions In-Reply-To: References: Message-ID: <4FBC2424.6050503@oracle.com> Hello Aleksey, The semantics of the try-with-resources statement are defined in the Java Language Specification: http://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html#jls-14.20.3 Any changes to the semantics of try-with-resources would need to be done in the context of a Java SE platform release, such as Java SE 8, and not just as a javac change. That said, I would not support altering the try-with-resources desugaring to support this use case. One exception should be at most the cause of XOR suppressed by another. Cheers, -Joe On 5/22/2012 3:07 AM, Aleksey Shipilev wrote: > Hi, > > There is some understandable, but still weird behavior in ARM. Should > the code cache or throw the same exception on some op(), and close(), > then ARM block will throw IllegalArgumentException. The minimal test > case is [1]. I think it can be fixed with simple fix in javac > desugaring scheme, placing additional check if exception from close() > is actually the original exception, and not trying to suppress it. > > Thanks, > Aleksey. > > [1] > > import java.io.IOException; > > public class ArmTest { > > // fails with IllegalArgumentException at Throwable.addSuppressed() > public static void main(String[] args) { > try (MyAutoCloseable worker = new MyAutoCloseable()) { > worker.doWork(); > } catch (IOException e) { > throw new IllegalStateException("Chained", e); > } > } > > private static class MyAutoCloseable implements AutoCloseable { > private static final IOException EXCEPTION = new IOException(); > public void doWork() throws IOException { throw EXCEPTION; } > public void close() throws IOException { throw EXCEPTION; } > } > } From aleksey.shipilev at gmail.com Tue May 22 22:41:39 2012 From: aleksey.shipilev at gmail.com (Aleksey Shipilev) Date: Wed, 23 May 2012 09:41:39 +0400 Subject: ARM and repeating exceptions In-Reply-To: <4FBC2424.6050503@oracle.com> References: <4FBC2424.6050503@oracle.com> Message-ID: Hi Joe, On Wed, May 23, 2012 at 3:41 AM, Joseph Darcy wrote: > The semantics of the try-with-resources statement are defined in the Java > Language Specification: I have failed to see where in the spec you can find this: > ?One exception should be at most the cause of XOR suppressed by another. The wording and spirit of Throwable.addSuppressed API argues it should be used when you have *another* exception and only one needs to be propagated. In the test case like mine you can *single* exception that needs to be propagated, so there is no reason to suppress any other exceptions. That said, imposing that additional requirement without even mentioning this in spec violates the "principle of least astonishment". -Aleksey. From weijun.wang at oracle.com Wed May 23 00:52:32 2012 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Wed, 23 May 2012 07:52:32 +0000 Subject: hg: jdk8/tl/jdk: 7162687: enhance KDC server availability detection Message-ID: <20120523075252.C982747490@hg.openjdk.java.net> Changeset: a2fc04c2dfc8 Author: weijun Date: 2012-05-23 15:51 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a2fc04c2dfc8 7162687: enhance KDC server availability detection Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/KdcComm.java ! src/share/classes/sun/security/krb5/internal/NetClient.java ! test/ProblemList.txt ! test/sun/security/krb5/auto/BadKdc.java ! test/sun/security/krb5/auto/MaxRetries.java ! test/sun/security/krb5/auto/TcpTimeout.java + test/sun/security/krb5/auto/Unreachable.java + test/sun/security/krb5/auto/unreachable.krb5.conf From joe.darcy at oracle.com Wed May 23 08:03:21 2012 From: joe.darcy at oracle.com (Joe Darcy) Date: Wed, 23 May 2012 08:03:21 -0700 Subject: ARM and repeating exceptions In-Reply-To: References: <4FBC2424.6050503@oracle.com> Message-ID: <4FBCFC39.1020905@oracle.com> Hello Aleksey, On 5/22/2012 10:41 PM, Aleksey Shipilev wrote: > Hi Joe, > > On Wed, May 23, 2012 at 3:41 AM, Joseph Darcy wrote: >> The semantics of the try-with-resources statement are defined in the Java >> Language Specification: The desugarings for try with resources in JLS 14.20.3.1 and JLS 14.20.3.2: try (VariableModifiers_opt R Identifier = Expression ...) Block => { final VariableModifiers_minus_final R Identifier = Expression; Throwable #primaryExc = null; try ResourceSpecification_tail Block catch (Throwable ... } etc., define precisely what try-with-resources means. This meaning does not support the usage pattern you have brought up. > I have failed to see where in the spec you can find this: > >> One exception should be at most the cause of XOR suppressed by another. > The wording and spirit of Throwable.addSuppressed API argues it should > be used when you have *another* exception and only one needs to be > propagated. In the test case like mine you can *single* exception that > needs to be propagated, so there is no reason to suppress any other > exceptions. > > That said, imposing that additional requirement without even > mentioning this in spec violates the "principle of least > astonishment". > The the Project Coin/JSR 334 effort took pains to include javadoc for Throwable.addSuppressed to discuss the difference between caused by and suppressed: "Note that when one exception causes another exception, the first exception is usually caught and then the second exception is thrown in response. In other words, there is a causal connection between the two exceptions. In contrast, there are situations where two independent exceptions can be thrown in sibling code blocks, in particular in the try block of a try-with-resources statement and the compiler-generated finally block which closes the resource. In these situations, only one of the thrown exceptions can be propagated. In the try-with-resources statement, when there are two such exceptions, the exception originating from the try block is propagated and the exception from the finally block is added to the list of exceptions suppressed by the exception from the try block. As an exception unwinds the stack, it can accumulate multiple suppressed exceptions. An exception may have suppressed exceptions while also being caused by another exception. Whether or not an exception has a cause is semantically known at the time of its creation, unlike whether or not an exception will suppress other exceptions which is typically only determined after an exception is thrown." The javadoc for addSuppressed also states: "IllegalArgumentException - if exception is this throwable; a throwable cannot suppress itself." The desugaring of try-with-resource in your code occurs "inside" the try block and does not include the catch IOException. In other words, the implicit call to close is logically inside the try {...}catch. Therefore, your code as written tries to have an exception suppress itself, which is rejected by the library code as documented. Cheers, -Joe From aleksey.shipilev at gmail.com Wed May 23 09:01:31 2012 From: aleksey.shipilev at gmail.com (Aleksey Shipilev) Date: Wed, 23 May 2012 20:01:31 +0400 Subject: ARM and repeating exceptions In-Reply-To: <4FBCFC39.1020905@oracle.com> References: <4FBC2424.6050503@oracle.com> <4FBCFC39.1020905@oracle.com> Message-ID: Hi Joe, On Wed, May 23, 2012 at 7:03 PM, Joe Darcy wrote: > etc., define precisely what try-with-resources means. ?This meaning does not > support the usage pattern you have brought up. I can see that. However, the rules for good language design dictates the orthogonal features of the language should inter-operate. Are you saying that current try-wth-resources spec prohibits throwing the *same* (literally, the same) exception from close()? Would you care to state that explicitly in AutoCloseable javadoc? > > The the Project Coin/JSR 334 effort took pains to include javadoc for > Throwable.addSuppressed to discuss the difference between caused by and > suppressed: Yes, I had read that paragraph through even before the first reply. Arguably, that paragraph tells you nothing about the behavior when the secondary exception is equal()-ly the same. It does not really tell you can get IllegalArgumentException out of thin air when using try-with-resources. I would say that is the blind spot of the spec, and I would strongly encourage us to do least astonishing thing in that blind spot. > The desugaring of try-with-resource in your code occurs "inside" the try > block and does not include the catch IOException. ?In other words, the > implicit call to close is logically inside the try {...}catch. ?Therefore, > your code as written tries to have an exception suppress itself, which is > rejected by the library code as documented. The trouble is not about "rejected by the library code". The trouble is surprising exception at the runtime. By the way, that surprising IllegalArgumentException even masks the original one, thus *completely* defeating the purpose of addSuppressed(). That becomes refreshingly funny when the exception throwing code is the 3rd party library code which users are "safely" using with try-with-resources. This had already happened in real project. Fixing this glitch with null-check will help this corner case without compromising the usual behavior. As much as I love following specs to the ground, arguing about safe change because you can't yet have simple correction to the spec (why oh why the concrete desugaring code is the part of not-really-changeable spec anyway?) feels too ivory-towerish for me. -Aleksey. From aleksey.shipilev at gmail.com Wed May 23 09:05:56 2012 From: aleksey.shipilev at gmail.com (Aleksey Shipilev) Date: Wed, 23 May 2012 20:05:56 +0400 Subject: ARM and repeating exceptions In-Reply-To: References: <4FBC2424.6050503@oracle.com> <4FBCFC39.1020905@oracle.com> Message-ID: On Wed, May 23, 2012 at 8:01 PM, Aleksey Shipilev wrote: > This had already happened in real project. Fixing this glitch with > null-check will help this corner case without compromising the usual > behavior. Sorry, I was meant to say "equality check": final VariableModifiers_minus_final R Identifier = Expression; Throwable #primaryExc = null; try ResourceSpecification_tail Block catch (Throwable #t) { #primaryExc = #t; throw #t; } finally { if (Identifier != null) { if (#primaryExc != null) { try { Identifier.close(); } catch (Throwable #suppressedExc) { if (#suppressedExc != #primaryExc) // add this #primaryExc.addSuppressed(#suppressedExc); } } else { Identifier.close(); } } } -Aleksey. From kurchi.subhra.hazra at oracle.com Wed May 23 10:42:35 2012 From: kurchi.subhra.hazra at oracle.com (kurchi.subhra.hazra at oracle.com) Date: Wed, 23 May 2012 17:42:35 +0000 Subject: hg: jdk8/tl/jdk: 7170169: (props) System.getProperty("os.name") should return "Windows 8" when run on Windows 8 Message-ID: <20120523174245.9C036474A0@hg.openjdk.java.net> Changeset: 0c3d9050c918 Author: khazra Date: 2012-05-23 10:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0c3d9050c918 7170169: (props) System.getProperty("os.name") should return "Windows 8" when run on Windows 8 Summary: Enable Windows Version 6.2 to be recognized as Windows 8 Reviewed-by: darcy, dholmes, alanb, chegar ! src/windows/native/java/lang/java_props_md.c From alan.bateman at oracle.com Thu May 24 05:44:52 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Thu, 24 May 2012 12:44:52 +0000 Subject: hg: jdk8/tl/jdk: 7169050: (se) Selector.select slow on Solaris due to insertion of POLLREMOVE and 0 events Message-ID: <20120524124502.74760474C1@hg.openjdk.java.net> Changeset: 21703d431217 Author: alanb Date: 2012-05-24 10:57 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/21703d431217 7169050: (se) Selector.select slow on Solaris due to insertion of POLLREMOVE and 0 events Reviewed-by: chegar, coffeys ! src/solaris/classes/sun/nio/ch/DevPollArrayWrapper.java ! src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c From alan.bateman at oracle.com Thu May 24 06:45:35 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Thu, 24 May 2012 13:45:35 +0000 Subject: hg: jdk8/tl/jdk: 7160725: Strange or obsolete @see tags in some exception java.lang javadoc Message-ID: <20120524134553.D7082474C5@hg.openjdk.java.net> Changeset: a11c964d1319 Author: jgish Date: 2012-05-24 14:44 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a11c964d1319 7160725: Strange or obsolete @see tags in some exception java.lang javadoc Summary: update javadoc for IllegalArgumentException and NumberFormatException Reviewed-by: alanb ! src/share/classes/java/lang/IllegalArgumentException.java From nils.loodin at oracle.com Thu May 24 07:21:40 2012 From: nils.loodin at oracle.com (nils.loodin at oracle.com) Date: Thu, 24 May 2012 14:21:40 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20120524142201.04CAA474C6@hg.openjdk.java.net> Changeset: 5ec5588c733d Author: nloodin Date: 2012-05-24 09:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5ec5588c733d 7143353: -Xrunhprof fails in Java 7 due to bad switch Reviewed-by: jrose, sspitsyn ! src/share/demo/jvmti/java_crw_demo/java_crw_demo.c ! src/share/javavm/export/classfile_constants.h Changeset: 1c869c799ef9 Author: nloodin Date: 2012-05-24 10:20 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1c869c799ef9 Merge From stuart.marks at oracle.com Thu May 24 19:28:41 2012 From: stuart.marks at oracle.com (stuart.marks at oracle.com) Date: Fri, 25 May 2012 02:28:41 +0000 Subject: hg: jdk8/tl/jdk: 7117230: clean up warnings in java.text Message-ID: <20120525022852.9EB87474E4@hg.openjdk.java.net> Changeset: e309917fb9af Author: dbhole Date: 2012-05-24 19:00 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e309917fb9af 7117230: clean up warnings in java.text Reviewed-by: jrose, smarks ! src/share/classes/java/text/AttributedCharacterIterator.java ! src/share/classes/java/text/AttributedString.java ! src/share/classes/java/text/BreakDictionary.java ! src/share/classes/java/text/BreakIterator.java ! src/share/classes/java/text/CharacterIteratorFieldDelegate.java ! src/share/classes/java/text/ChoiceFormat.java ! src/share/classes/java/text/CollationElementIterator.java ! src/share/classes/java/text/DateFormat.java ! src/share/classes/java/text/DecimalFormat.java ! src/share/classes/java/text/DictionaryBasedBreakIterator.java ! src/share/classes/java/text/MergeCollation.java ! src/share/classes/java/text/MessageFormat.java ! src/share/classes/java/text/NumberFormat.java ! src/share/classes/java/text/ParseException.java ! src/share/classes/java/text/RBCollationTables.java ! src/share/classes/java/text/RBTableBuilder.java ! src/share/classes/java/text/RuleBasedBreakIterator.java From littlee at linux.vnet.ibm.com Thu May 24 22:31:53 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Fri, 25 May 2012 05:31:53 +0000 Subject: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Message-ID: <20120525053212.D046D47505@hg.openjdk.java.net> Changeset: 71cf74329a9e Author: youdwei Date: 2012-05-25 13:28 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71cf74329a9e 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Reviewed-by: okutsu ! src/windows/native/java/util/TimeZone_md.c + test/java/util/TimeZone/DstTzTest.java From littlee at linux.vnet.ibm.com Thu May 24 23:34:09 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Fri, 25 May 2012 06:34:09 +0000 Subject: hg: jdk8/tl/jdk: 7171028: dots are missed in the datetime for Slovanian Message-ID: <20120525063429.F2FEF47507@hg.openjdk.java.net> Changeset: 85696e57d447 Author: youdwei Date: 2012-05-25 14:32 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/85696e57d447 7171028: dots are missed in the datetime for Slovanian Reviewed-by: yhuang ! src/share/classes/sun/text/resources/FormatData_sl.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java From nils.loodin at oracle.com Fri May 25 05:57:17 2012 From: nils.loodin at oracle.com (nils.loodin at oracle.com) Date: Fri, 25 May 2012 12:57:17 +0000 Subject: hg: jdk8/tl/jdk: 7017818: NLS: JConsoleResources.java cannot be handled by translation team Message-ID: <20120525125738.14B7647513@hg.openjdk.java.net> Changeset: 1def6b6bfbd9 Author: egahlin Date: 2012-05-25 12:24 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1def6b6bfbd9 7017818: NLS: JConsoleResources.java cannot be handled by translation team Reviewed-by: mchung, mfang ! make/netbeans/jconsole/build.xml ! make/sun/jconsole/FILES.gmk ! make/sun/jconsole/Makefile ! src/share/classes/sun/tools/jconsole/AboutDialog.java ! src/share/classes/sun/tools/jconsole/BorderedComponent.java ! src/share/classes/sun/tools/jconsole/ClassTab.java ! src/share/classes/sun/tools/jconsole/ConnectDialog.java ! src/share/classes/sun/tools/jconsole/CreateMBeanDialog.java ! src/share/classes/sun/tools/jconsole/Formatter.java ! src/share/classes/sun/tools/jconsole/HTMLPane.java ! src/share/classes/sun/tools/jconsole/InternalDialog.java ! src/share/classes/sun/tools/jconsole/JConsole.java ! src/share/classes/sun/tools/jconsole/LabeledComponent.java ! src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java ! src/share/classes/sun/tools/jconsole/MBeansTab.java ! src/share/classes/sun/tools/jconsole/MaximizableInternalFrame.java ! src/share/classes/sun/tools/jconsole/MemoryPoolProxy.java ! src/share/classes/sun/tools/jconsole/MemoryPoolStat.java ! src/share/classes/sun/tools/jconsole/MemoryTab.java + src/share/classes/sun/tools/jconsole/Messages.java ! src/share/classes/sun/tools/jconsole/OverviewPanel.java ! src/share/classes/sun/tools/jconsole/OverviewTab.java ! src/share/classes/sun/tools/jconsole/Plotter.java ! src/share/classes/sun/tools/jconsole/PlotterPanel.java ! src/share/classes/sun/tools/jconsole/ProxyClient.java ! src/share/classes/sun/tools/jconsole/Resources.java ! src/share/classes/sun/tools/jconsole/SummaryTab.java ! src/share/classes/sun/tools/jconsole/Tab.java ! src/share/classes/sun/tools/jconsole/ThreadTab.java ! src/share/classes/sun/tools/jconsole/VMInternalFrame.java ! src/share/classes/sun/tools/jconsole/VMPanel.java ! src/share/classes/sun/tools/jconsole/VariableGridLayout.java ! src/share/classes/sun/tools/jconsole/Version.java.template ! src/share/classes/sun/tools/jconsole/inspector/OperationEntry.java ! src/share/classes/sun/tools/jconsole/inspector/TableSorter.java ! src/share/classes/sun/tools/jconsole/inspector/ThreadDialog.java ! src/share/classes/sun/tools/jconsole/inspector/Utils.java ! src/share/classes/sun/tools/jconsole/inspector/XArrayDataViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XDataViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanAttributes.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanInfo.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanNotifications.java ! src/share/classes/sun/tools/jconsole/inspector/XObject.java ! src/share/classes/sun/tools/jconsole/inspector/XOpenTypeViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XOperations.java ! src/share/classes/sun/tools/jconsole/inspector/XPlotter.java ! src/share/classes/sun/tools/jconsole/inspector/XPlottingViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XSheet.java ! src/share/classes/sun/tools/jconsole/inspector/XTable.java ! src/share/classes/sun/tools/jconsole/inspector/XTextField.java ! src/share/classes/sun/tools/jconsole/inspector/XTree.java ! src/share/classes/sun/tools/jconsole/inspector/XTreeRenderer.java - src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java - src/share/classes/sun/tools/jconsole/resources/JConsoleResources_ja.java - src/share/classes/sun/tools/jconsole/resources/JConsoleResources_zh_CN.java + src/share/classes/sun/tools/jconsole/resources/messages.properties + src/share/classes/sun/tools/jconsole/resources/messages_ja.properties + src/share/classes/sun/tools/jconsole/resources/messages_zh_CN.properties From Ulf.Zibis at gmx.de Fri May 25 06:15:25 2012 From: Ulf.Zibis at gmx.de (Ulf Zibis) Date: Fri, 25 May 2012 15:15:25 +0200 Subject: Space notation for cast In-Reply-To: <4FBF763A.6050202@oracle.com> References: <1D5C5BC1-C6E8-4807-9D5B-2530CDEAD479@oracle.com> <4FBF763A.6050202@oracle.com> Message-ID: <4FBF85ED.5070602@gmx.de> Am 25.05.2012 14:08, schrieb Alan Bateman: > A non-material comment is that there are a couple of style changes that I found annoying. Everyone > is an expert on such matters, I'm not, but the one that bugged me a bit was adding the space after > the cast, eg: > (toffset > (long) value.length - len) I don't like the space notation too, justification see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6939278 -Ulf From alan.bateman at oracle.com Fri May 25 06:56:22 2012 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Fri, 25 May 2012 13:56:22 +0000 Subject: hg: jdk8/tl/jdk: 7171474: Incorrect @see tags in java.lang.NumberFormatException javadoc Message-ID: <20120525135643.C02C047518@hg.openjdk.java.net> Changeset: f92325f12654 Author: jgish Date: 2012-05-24 11:11 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f92325f12654 7171474: Incorrect @see tags in java.lang.NumberFormatException javadoc Summary: update javadoc for NumberFormatException Reviewed-by: alanb ! src/share/classes/java/lang/NumberFormatException.java From daniel.daugherty at oracle.com Fri May 25 10:38:51 2012 From: daniel.daugherty at oracle.com (daniel.daugherty at oracle.com) Date: Fri, 25 May 2012 17:38:51 +0000 Subject: hg: jdk8/tl/jdk: 7170449: Management is completely broken at least on Solaris 11 X86 Message-ID: <20120525173901.EA8F14751F@hg.openjdk.java.net> Changeset: 82134992123c Author: dcubed Date: 2012-05-25 08:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/82134992123c 7170449: Management is completely broken at least on Solaris 11 X86 Summary: Work around 'gobjcopy' failures on Solaris by adding temporary tools to add the '.gnu_debuglink' section and remove the SHF_ALLOC flag from "empty" section headers. Reviewed-by: sspitsyn, acorn ! make/common/Defs-solaris.gmk ! make/common/Defs.gmk ! make/common/Library.gmk ! make/common/Program.gmk ! make/tools/Makefile + make/tools/add_gnu_debuglink/Makefile + make/tools/add_gnu_debuglink/add_gnu_debuglink.c + make/tools/fix_empty_sec_hdr_flags/Makefile + make/tools/fix_empty_sec_hdr_flags/fix_empty_sec_hdr_flags.c From lana.steuck at oracle.com Fri May 25 19:13:27 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:27 +0000 Subject: hg: jdk8/tl: 5 new changesets Message-ID: <20120526021328.54F6347537@hg.openjdk.java.net> Changeset: 955a3e8ed4f0 Author: ohair Date: 2012-05-10 08:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/955a3e8ed4f0 7167593: Changed get_source.sh to allow for getting full oracle jdk repo forest Reviewed-by: erikj, asaha, chegar, sla, dholmes, mbykov, coleenp ! get_source.sh ! make/scripts/hgforest.sh Changeset: 8a4e92c10a9a Author: ohair Date: 2012-05-11 17:52 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/8a4e92c10a9a 7167976: Fix broken get_source.sh script Reviewed-by: tbell ! make/scripts/hgforest.sh Changeset: 8927dd68aee3 Author: katleman Date: 2012-05-16 22:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/8927dd68aee3 Merge Changeset: a2b2d435f1d2 Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/a2b2d435f1d2 Added tag jdk8-b39 for changeset 8927dd68aee3 ! .hgtags Changeset: 1a8c7c530f8a Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/1a8c7c530f8a Added tag jdk8-b40 for changeset a2b2d435f1d2 ! .hgtags From lana.steuck at oracle.com Fri May 25 19:13:25 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:25 +0000 Subject: hg: jdk8/tl/corba: 2 new changesets Message-ID: <20120526021328.2A6F647536@hg.openjdk.java.net> Changeset: 56d030e5035f Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/56d030e5035f Added tag jdk8-b39 for changeset 785af00e2827 ! .hgtags Changeset: 113f0d5f0a08 Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/113f0d5f0a08 Added tag jdk8-b40 for changeset 56d030e5035f ! .hgtags From lana.steuck at oracle.com Fri May 25 19:13:28 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:28 +0000 Subject: hg: jdk8/tl/jaxws: 2 new changesets Message-ID: <20120526021336.2978F47538@hg.openjdk.java.net> Changeset: 09a0ddda03cb Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/09a0ddda03cb Added tag jdk8-b39 for changeset 7f6b44fd3034 ! .hgtags Changeset: f2072b164b05 Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/f2072b164b05 Added tag jdk8-b40 for changeset 09a0ddda03cb ! .hgtags From lana.steuck at oracle.com Fri May 25 19:13:39 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:39 +0000 Subject: hg: jdk8/tl/jaxp: 2 new changesets Message-ID: <20120526021344.6E9DA47539@hg.openjdk.java.net> Changeset: 9ecfdbd6aed4 Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/9ecfdbd6aed4 Added tag jdk8-b39 for changeset f95fdbe525c8 ! .hgtags Changeset: 6f5c0e17415d Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/6f5c0e17415d Added tag jdk8-b40 for changeset 9ecfdbd6aed4 ! .hgtags From lana.steuck at oracle.com Fri May 25 19:13:39 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:39 +0000 Subject: hg: jdk8/tl/langtools: 4 new changesets Message-ID: <20120526021348.100DA4753A@hg.openjdk.java.net> Changeset: 8b869afd2eb4 Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/8b869afd2eb4 Added tag jdk8-b39 for changeset a9f547c218d9 ! .hgtags Changeset: 86e0dad6aadf Author: lana Date: 2012-05-21 11:44 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/86e0dad6aadf Merge Changeset: 179fa85aeefa Author: katleman Date: 2012-05-24 16:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/179fa85aeefa Added tag jdk8-b40 for changeset 86e0dad6aadf ! .hgtags Changeset: f43aded513e7 Author: lana Date: 2012-05-25 16:32 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f43aded513e7 Merge From lana.steuck at oracle.com Fri May 25 19:13:35 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:13:35 +0000 Subject: hg: jdk8/tl/hotspot: 32 new changesets Message-ID: <20120526021441.28B774753B@hg.openjdk.java.net> Changeset: 36538fd1225e Author: amurillo Date: 2012-05-04 15:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/36538fd1225e 7166615: new hotspot build - hs24-b10 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 8bafad97cd26 Author: jiangli Date: 2012-05-02 13:21 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8bafad97cd26 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support. Summary: Change the _host_klass to be conditionally created embedded instanceKlass field. Reviewed-by: jrose, coleenp, dholmes ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/memory/oopFactory.cpp ! src/share/vm/memory/oopFactory.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/oops/instanceKlassKlass.cpp ! src/share/vm/oops/instanceKlassKlass.hpp Changeset: 38b4116b6766 Author: jprovino Date: 2012-05-05 10:24 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/38b4116b6766 Merge Changeset: c7ed11779ce8 Author: jiangli Date: 2012-04-10 09:31 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c7ed11779ce8 7159772: instanceKlass::all_fields_count() returns incorrect total field count Summary: Fix instanceKlass::all_fields_count() bug. Reviewed-by: kvn, never Contributed-by: Jiangli Zhou ! src/share/vm/oops/instanceKlass.hpp Changeset: 3576af4cb939 Author: iveresov Date: 2012-04-11 19:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3576af4cb939 7160539: JDeveloper crashes on 64-bit Windows Summary: x64 C1 needs to zero upper 32bits when doing l2i conversion Reviewed-by: never, kvn ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Changeset: 847da049d62f Author: never Date: 2012-04-17 11:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/847da049d62f 7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node Reviewed-by: never, twisti Contributed-by: nils.eliasson at oracle.com ! src/share/vm/opto/callGenerator.cpp Changeset: df3d4a91f7f6 Author: never Date: 2012-04-18 16:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/df3d4a91f7f6 7161796: PhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror Reviewed-by: twisti ! src/share/vm/opto/stringopts.cpp Changeset: ec15e8f6e4f1 Author: twisti Date: 2012-04-24 12:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ec15e8f6e4f1 7157695: Add windows implementation of socket interface Reviewed-by: kvn, dholmes, twisti Contributed-by: Nils Eliasson ! src/os/windows/vm/jvm_windows.h ! src/os/windows/vm/os_windows.cpp Changeset: dc682d9431f3 Author: kvn Date: 2012-05-07 12:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/dc682d9431f3 7160610: Unknown Native Code compilation issue Summary: When constructing input vector use type of vector's operation which use it since element's sizes should match. Reviewed-by: never, twisti ! src/share/vm/opto/superword.cpp + test/compiler/7160610/Test7160610.java Changeset: 3a97daec1b34 Author: kvn Date: 2012-05-08 15:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3a97daec1b34 7167266: missing copyright notes in 3rd party code Summary: add missing copyright notes to the regression test file. Reviewed-by: twisti, johnc ! test/compiler/7070134/Stemmer.java Changeset: 2766551175a0 Author: kvn Date: 2012-05-09 10:54 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2766551175a0 Merge ! src/share/vm/oops/instanceKlass.hpp Changeset: a05a695ea044 Author: stefank Date: 2012-05-10 11:27 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a05a695ea044 7167437: Can't build on linux without precompiled headers Reviewed-by: brutisso, mgerdin ! src/share/vm/memory/space.hpp ! src/share/vm/memory/space.inline.hpp Changeset: f47478089efc Author: brutisso Date: 2012-05-10 14:16 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f47478089efc 7167069: 6 VM flags crash the VM when queried via jinfo Summary: Added missing double format to Flag::print_as_flag() Reviewed-by: dholmes, stefank, coleenp ! src/share/vm/runtime/globals.cpp + test/runtime/7167069/PrintAsFlag.java Changeset: 5799726c54d7 Author: jcoomes Date: 2012-05-11 06:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5799726c54d7 Merge Changeset: 73147e6c4881 Author: amurillo Date: 2012-05-11 14:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/73147e6c4881 Merge Changeset: 96a403721094 Author: amurillo Date: 2012-05-11 14:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/96a403721094 Added tag hs24-b10 for changeset 73147e6c4881 ! .hgtags Changeset: 26423ef693ac Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/26423ef693ac Added tag jdk8-b39 for changeset 96a403721094 ! .hgtags Changeset: 56d1af561395 Author: amurillo Date: 2012-05-11 14:54 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/56d1af561395 7168247: new hotspot build - hs24-b11 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 35e504cb49a6 Author: collins Date: 2012-05-11 11:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/35e504cb49a6 7167625: Adjustments for SE-Embedded build process Summary: Simple change to the SE-Embedded build rules that should not affect any other OpenJDK users. Reviewed-by: kvn, dholmes ! make/linux/makefiles/vm.make ! src/share/vm/runtime/arguments.cpp Changeset: fada85d11d92 Author: jprovino Date: 2012-05-16 13:33 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/fada85d11d92 Merge Changeset: 8f972594effc Author: kvn Date: 2012-05-14 09:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8f972594effc 6924259: Remove String.count/String.offset Summary: Allow a version of String class that doesn't have count and offset fields. Reviewed-by: never, coleenp ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/memory/dump.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/stringopts.cpp ! src/share/vm/opto/stringopts.hpp Changeset: de0cc3dd9f10 Author: kvn Date: 2012-05-17 09:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/de0cc3dd9f10 Merge Changeset: 3a22b77e755a Author: brutisso Date: 2012-05-14 17:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3a22b77e755a 7161545: G1: Minor cleanups to the G1 logging Summary: Rename "to-space-overflow" to "to-space-exhausted", Introduce one decimal point in the size format, Add Sum to the aggregate and re-order the entries, Add number of GC workers to the log output Reviewed-by: johnc, jwilhelm ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/utilities/globalDefinitions.hpp Changeset: 78a1b285cda8 Author: mikael Date: 2012-05-15 00:56 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/78a1b285cda8 7158457: division by zero in adaptiveweightedaverage Summary: Add ceiling to AdaptiveWeightedAverage Reviewed-by: ysr, iveresov ! src/share/vm/gc_implementation/shared/gcUtil.cpp ! src/share/vm/gc_implementation/shared/gcUtil.hpp Changeset: 33e366609904 Author: johnc Date: 2012-05-14 21:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/33e366609904 Merge Changeset: 1096fc5a52eb Author: johnc Date: 2012-05-15 09:49 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1096fc5a52eb 7168294: G1: Some Full GCs incorrectly report GC cause as "No GC" Summary: GC cause was not being set by the VM_G1CollectForAllocation VM operation. Reviewed-by: jmasa, ysr, brutisso ! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Changeset: cdfa5139bd58 Author: brutisso Date: 2012-05-15 22:26 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cdfa5139bd58 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit() Reviewed-by: jwilhelm, johnc, dholmes ! src/share/vm/utilities/globalDefinitions.hpp Changeset: 9d679effd28c Author: brutisso Date: 2012-05-15 10:25 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9d679effd28c 7166894: Add gc cause to GC logging for all collectors Reviewed-by: mgerdin, johnc ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/parNew/parNewGeneration.cpp ! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp ! src/share/vm/gc_interface/gcCause.hpp ! src/share/vm/memory/defNewGeneration.cpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genMarkSweep.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/java.hpp Changeset: cdeda3fd141e Author: jcoomes Date: 2012-05-18 10:27 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cdeda3fd141e Merge ! src/share/vm/runtime/arguments.cpp Changeset: 14b0e07ab9a6 Author: amurillo Date: 2012-05-18 14:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/14b0e07ab9a6 Merge Changeset: ff9decc8235d Author: amurillo Date: 2012-05-18 14:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ff9decc8235d Added tag hs24-b11 for changeset 14b0e07ab9a6 ! .hgtags Changeset: 48064e53e997 Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/48064e53e997 Added tag jdk8-b40 for changeset ff9decc8235d ! .hgtags From lana.steuck at oracle.com Fri May 25 19:14:31 2012 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 26 May 2012 02:14:31 +0000 Subject: hg: jdk8/tl/jdk: 39 new changesets Message-ID: <20120526022105.9185D4753C@hg.openjdk.java.net> Changeset: c2d9166f3284 Author: ihse Date: 2012-05-11 08:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c2d9166f3284 7168208: Change use of @ in one sed command involving paths to different character Reviewed-by: ohair ! make/common/Release.gmk Changeset: 8d665b69ebf1 Author: mfang Date: 2012-05-15 11:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8d665b69ebf1 7157855: jvisualvm.1 not included in binaries Reviewed-by: katleman, thurka ! make/common/Release.gmk Changeset: b6f529117521 Author: katleman Date: 2012-05-16 22:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b6f529117521 Merge Changeset: 47cd90bf0f66 Author: katleman Date: 2012-05-17 06:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/47cd90bf0f66 Added tag jdk8-b39 for changeset b6f529117521 ! .hgtags Changeset: 7c4eed4b6c19 Author: bae Date: 2012-05-21 14:04 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7c4eed4b6c19 7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs) Reviewed-by: anthony, kizune ! src/macosx/classes/sun/awt/CGraphicsDevice.java ! test/java/awt/GraphicsDevice/CloneConfigsTest.java Changeset: 416b3a498e71 Author: bae Date: 2012-05-21 14:53 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/416b3a498e71 7154088: [macosx] Regression: Component.createImage do not inherits component attributes Reviewed-by: art, kizune ! src/macosx/classes/sun/lwawt/LWComponentPeer.java Changeset: 1b90a0113359 Author: lana Date: 2012-05-21 11:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1b90a0113359 Merge Changeset: c31eeeda3ed1 Author: serb Date: 2012-05-03 18:29 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c31eeeda3ed1 7160623: [macosx] Editable TextArea/TextField are blocking GUI applications from exit Reviewed-by: anthony, art ! src/macosx/classes/sun/lwawt/LWComponentPeer.java ! src/macosx/classes/sun/lwawt/LWTextComponentPeer.java Changeset: a420895ee2c3 Author: leonidr Date: 2012-05-03 19:22 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a420895ee2c3 7124376: [macosx] Modal dialog lost focus Reviewed-by: anthony ! src/macosx/classes/sun/lwawt/LWWindowPeer.java ! src/macosx/classes/sun/lwawt/PlatformWindow.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformEmbeddedFrame.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java ! src/macosx/native/sun/awt/AWTView.m ! src/macosx/native/sun/awt/AWTWindow.h ! src/macosx/native/sun/awt/AWTWindow.m Changeset: 95c8b63a3c47 Author: kizune Date: 2012-05-03 21:54 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/95c8b63a3c47 7148289: [macosx] Deadlock in sun.lwawt.macosx.CWrapper$NSScreen.visibleFrame Reviewed-by: leonidr ! src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java ! src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java ! src/macosx/native/sun/awt/LWCToolkit.m Changeset: a714e2e2b257 Author: alexsch Date: 2012-05-04 13:15 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a714e2e2b257 7024963: Notepad demo: remove non-translatable resources from Notepad.properties file Reviewed-by: rupashka ! src/share/demo/jfc/Notepad/Notepad.java ! src/share/demo/jfc/Notepad/resources/Notepad.properties + src/share/demo/jfc/Notepad/resources/system.properties Changeset: 4cc873e28c78 Author: bagiras Date: 2012-05-04 18:42 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4cc873e28c78 7146237: closed/java/awt/Focus/SetFocusTraversalKeysTest/SetFocusTraversalTest.html failed since 1.8.0b19 Reviewed-by: art, anthony ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/java/awt/KeyboardFocusManager.java ! src/share/classes/javax/swing/JComponent.java Changeset: 0feee4541f67 Author: serb Date: 2012-05-04 21:25 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0feee4541f67 7147055: [macosx] Cursors are changing over a blocked window; also blinking Reviewed-by: art, kizune ! src/macosx/classes/sun/lwawt/LWCursorManager.java Changeset: 912e666b4e1d Author: serb Date: 2012-05-10 20:05 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/912e666b4e1d 7080109: Dialog.show() lacks doPrivileged() to access system event queue Reviewed-by: art, anthony ! src/share/classes/java/awt/Dialog.java + test/java/awt/Dialog/ModalDialogPermission/ModalDialogPermission.java + test/java/awt/Dialog/ModalDialogPermission/java.policy Changeset: 18842bb6676a Author: lana Date: 2012-05-10 11:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/18842bb6676a Merge - src/macosx/bin/amd64/jvm.cfg - src/share/classes/sun/security/action/LoadLibraryAction.java - test/tools/pack200/dyn.jar - test/tools/pack200/pack200-verifier/src/xmlkit/ClassSyntax.java - test/tools/pack200/pack200-verifier/src/xmlkit/ClassWriter.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionAssembler.java - test/tools/pack200/pack200-verifier/src/xmlkit/InstructionSyntax.java Changeset: 4f39a13e74c6 Author: anthony Date: 2012-05-11 16:11 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4f39a13e74c6 7166437: [macosx] Support for Window.Type.UTILITY on the Mac Summary: Apply the native UTILITY style for UTILITY Java windows Reviewed-by: art ! src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java Changeset: 689c0cd214e8 Author: anthony Date: 2012-05-11 20:37 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/689c0cd214e8 7149062: [macosx] dock menu don't show available frames Summary: Inherit from either NSWindow for normal windows or NSPanel for utility windows Reviewed-by: skovatch, swingler ! src/macosx/native/sun/awt/AWTView.m ! src/macosx/native/sun/awt/AWTWindow.h ! src/macosx/native/sun/awt/AWTWindow.m Changeset: 3b8635e357e9 Author: alexsch Date: 2012-05-12 12:01 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3b8635e357e9 7024965: Stylepad demo: remove non-translatable resources from Stylepad.properties file Reviewed-by: alexp ! src/share/demo/jfc/Notepad/Notepad.java + src/share/demo/jfc/Notepad/resources/NotepadSystem.properties - src/share/demo/jfc/Notepad/resources/system.properties Changeset: cc8d1cc533bf Author: alexp Date: 2012-05-12 17:46 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cc8d1cc533bf 7149005: [macosx] Java Control Panel's UI controls are distorted when draging scroll bar. Reviewed-by: serb ! src/macosx/classes/com/apple/laf/AquaButtonLabeledUI.java Changeset: 69301efaac91 Author: ant Date: 2012-05-12 18:50 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/69301efaac91 7110683: Issues with some KeyboardFocusManager method Reviewed-by: ahgross ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/DefaultKeyboardFocusManager.java ! src/share/classes/java/awt/KeyboardFocusManager.java ! src/share/classes/java/awt/Window.java Changeset: 28ec5b811aa2 Author: dcherepanov Date: 2012-05-15 15:04 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/28ec5b811aa2 7168550: [macosx] duplicate OGL context state changes related to vertex cache Reviewed-by: bae, swingler ! src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m ! src/share/native/sun/java2d/opengl/OGLContext.h ! src/share/native/sun/java2d/opengl/OGLTextRenderer.c ! src/share/native/sun/java2d/opengl/OGLVertexCache.c ! src/share/native/sun/java2d/opengl/OGLVertexCache.h Changeset: cad0bb1a9bdb Author: dcherepanov Date: 2012-05-16 13:15 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cad0bb1a9bdb 7124337: [macosx] FileDialog fails to select multiple files Reviewed-by: anthony, swingler ! src/macosx/classes/sun/lwawt/macosx/CFileDialog.java ! src/macosx/native/sun/awt/CFileDialog.h ! src/macosx/native/sun/awt/CFileDialog.m ! src/share/classes/java/awt/FileDialog.java ! src/share/classes/sun/awt/AWTAccessor.java ! src/solaris/classes/sun/awt/X11/GtkFileDialogPeer.java ! src/solaris/classes/sun/awt/X11/XFileDialogPeer.java ! src/windows/classes/sun/awt/windows/WFileDialogPeer.java Changeset: 7c0b390ab5f9 Author: anthony Date: 2012-05-16 14:28 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7c0b390ab5f9 7168851: [macosx] Netbeans crashes in CImage.nativeCreateNSImageFromArray Summary: Eliminate unnecessary -release call Reviewed-by: dcherepanov ! src/macosx/native/sun/awt/CImage.m Changeset: 3c819d638e36 Author: alexsch Date: 2012-05-16 16:27 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3c819d638e36 7169226: NLS: Please change the mnemonic assignment system for windows and motif properties Reviewed-by: rupashka ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_de.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_es.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_fr.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_it.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ja.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_sv.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_TW.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_de.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_es.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_fr.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_it.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ja.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ko.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_sv.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_TW.properties Changeset: 19edcc438203 Author: alexsch Date: 2012-05-16 18:11 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/19edcc438203 7158928: [macosx] NLS: Please change the mnemonic assignment system Reviewed-by: rupashka, serb ! make/com/apple/osxui/Makefile ! make/common/internal/Resources.gmk ! src/macosx/classes/com/apple/laf/AquaLookAndFeel.java ! src/macosx/classes/com/apple/laf/resources/aqua.properties Changeset: 731ee59c6ba2 Author: alexsch Date: 2012-05-17 14:27 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/731ee59c6ba2 7148281: [macosx] JTabbedPane tabs with HTML text do not render correctly Reviewed-by: kizune ! src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java Changeset: f9217bd87199 Author: rupashka Date: 2012-05-17 15:41 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f9217bd87199 7166322: closed/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java failed since 1.8.0b36 Reviewed-by: alexsch + test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java Changeset: c00d6508afce Author: ant Date: 2012-05-17 21:27 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c00d6508afce 7142565: [macosx] Many special keys processed twice in text fields Summary: forward port from 7u4 Reviewed-by: anthony ! src/macosx/native/sun/awt/AWTView.m Changeset: 17c5e1a12965 Author: ant Date: 2012-05-17 21:31 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/17c5e1a12965 7154072: [macosx] swallowing key events Summary: forward posrt from 7u4 Reviewed-by: anthony ! src/macosx/native/sun/awt/AWTView.m Changeset: ef77fa799b34 Author: ant Date: 2012-05-17 21:48 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ef77fa799b34 7125044: [macosx] Test failure because Component.transferFocus() works differently in applet and application. Summary: forward port from 7u4 Reviewed-by: art ! src/share/classes/java/awt/Dialog.java ! src/share/classes/java/awt/Frame.java ! src/share/classes/java/awt/Window.java ! src/share/classes/javax/swing/JApplet.java ! src/share/classes/javax/swing/JDialog.java ! src/share/classes/javax/swing/JFrame.java ! src/share/classes/javax/swing/JInternalFrame.java ! src/share/classes/javax/swing/JWindow.java ! src/share/classes/javax/swing/UIManager.java ! src/share/classes/sun/awt/SunToolkit.java + test/java/awt/Focus/FocusTraversalPolicy/InitialFTP.java + test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_AWT.java + test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_Swing.java + test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java Changeset: 5976b5848554 Author: ant Date: 2012-05-17 22:10 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5976b5848554 7145768: [macosx] Regression: failure in b11 of ModalDialogInFocusEventTest Summary: forward port from 7u4 Reviewed-by: art ! src/macosx/classes/sun/lwawt/LWComponentPeer.java ! src/macosx/classes/sun/lwawt/LWWindowPeer.java Changeset: 1d75ff45586e Author: ant Date: 2012-05-17 22:21 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1d75ff45586e 7145827: [macosx] JCK failure in b11: FocusableWindow3 Summary: forward posrt from 7u4 Reviewed-by: art ! src/macosx/classes/sun/lwawt/LWWindowPeer.java Changeset: 2eca75e0a063 Author: dcherepanov Date: 2012-05-18 19:39 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2eca75e0a063 7156191: [macosx] Can't type into applet demos in Pivot Reviewed-by: art ! src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformView.java ! src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java Changeset: 1ee12bca4823 Author: rupashka Date: 2012-05-21 18:55 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1ee12bca4823 7168144: No appropriate CCC request for changes introduced by 7154030 Reviewed-by: alexsch ! src/share/classes/javax/swing/JComponent.java Changeset: 967b38bfd5c1 Author: ant Date: 2012-05-22 01:12 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/967b38bfd5c1 7170427: setGlobalCurrentFocusCycleRoot unexpectedly throws SecurityException Reviewed-by: art ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/java/awt/KeyboardFocusManager.java Changeset: 5b2095d7a60b Author: lana Date: 2012-05-21 11:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5b2095d7a60b Merge ! src/macosx/classes/sun/lwawt/LWComponentPeer.java Changeset: b88fc3359dc7 Author: lana Date: 2012-05-21 11:44 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b88fc3359dc7 Merge Changeset: 7def50698e78 Author: katleman Date: 2012-05-24 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7def50698e78 Added tag jdk8-b40 for changeset b88fc3359dc7 ! .hgtags Changeset: 7abdd3cb14ed Author: lana Date: 2012-05-25 16:32 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7abdd3cb14ed Merge From littlee at linux.vnet.ibm.com Mon May 28 18:43:59 2012 From: littlee at linux.vnet.ibm.com (littlee at linux.vnet.ibm.com) Date: Tue, 29 May 2012 01:43:59 +0000 Subject: hg: jdk8/tl/jdk: 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms Message-ID: <20120529014409.398D14757F@hg.openjdk.java.net> Changeset: 60033ab79213 Author: littlee Date: 2012-05-29 09:42 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/60033ab79213 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms Reviewed-by: alanb, okutsu - test/java/util/TimeZone/DstTzTest.java From kurchi.subhra.hazra at oracle.com Tue May 29 13:17:07 2012 From: kurchi.subhra.hazra at oracle.com (kurchi.subhra.hazra at oracle.com) Date: Tue, 29 May 2012 20:17:07 +0000 Subject: hg: jdk8/tl/jdk: 7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value Message-ID: <20120529201726.3F0474759D@hg.openjdk.java.net> Changeset: eb441933f6fe Author: khazra Date: 2012-05-29 13:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/eb441933f6fe 7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value Summary: Use CHECK_NULL_RETURN instead of CHECK_NULL Reviewed-by: alanb ! src/solaris/native/java/net/net_util_md.c From joe.darcy at oracle.com Tue May 29 19:10:49 2012 From: joe.darcy at oracle.com (Joseph Darcy) Date: Tue, 29 May 2012 19:10:49 -0700 Subject: ARM and repeating exceptions In-Reply-To: References: <4FBC2424.6050503@oracle.com> <4FBCFC39.1020905@oracle.com> Message-ID: <4FC581A9.4070207@oracle.com> Hello Aleksey, On 5/23/2012 9:01 AM, Aleksey Shipilev wrote: > Hi Joe, > > On Wed, May 23, 2012 at 7:03 PM, Joe Darcy wrote: >> etc., define precisely what try-with-resources means. This meaning does not >> support the usage pattern you have brought up. > I can see that. However, the rules for good language design dictates > the orthogonal features of the language should inter-operate. Are you > saying that current try-wth-resources spec prohibits throwing the > *same* (literally, the same) exception from close()? Would you care to > state that explicitly in AutoCloseable javadoc? It is not prohibited, it just causes an exception ;-) The behavior you have reported is required by the current specification. However, I do not think elaborating on this point is worthwhile in the AutoCloseable javadoc since I think this situation will be a rare occurrence in practice and an explicit note about it would tend to nearly always distract rather than inform. > >> The the Project Coin/JSR 334 effort took pains to include javadoc for >> Throwable.addSuppressed to discuss the difference between caused by and >> suppressed: > Yes, I had read that paragraph through even before the first reply. > Arguably, that paragraph tells you nothing about the behavior when the > secondary exception is equal()-ly the same. It does not really tell > you can get IllegalArgumentException out of thin air when using > try-with-resources. I would say that is the blind spot of the spec, > and I would strongly encourage us to do least astonishing thing in > that blind spot. > >> The desugaring of try-with-resource in your code occurs "inside" the try >> block and does not include the catch IOException. In other words, the >> implicit call to close is logically inside the try {...}catch. Therefore, >> your code as written tries to have an exception suppress itself, which is >> rejected by the library code as documented. > The trouble is not about "rejected by the library code". The trouble > is surprising exception at the runtime. By the way, that surprising > IllegalArgumentException even masks the original one, thus > *completely* defeating the purpose of addSuppressed(). That becomes > refreshingly funny when the exception throwing code is the 3rd party > library code which users are "safely" using with try-with-resources. > > This had already happened in real project. Fixing this glitch with > null-check will help this corner case without compromising the usual > behavior. As much as I love following specs to the ground, arguing > about safe change because you can't yet have simple correction to the > spec (why oh why the concrete desugaring code is the part of > not-really-changeable spec anyway?) feels too ivory-towerish for me. > > -Aleksey. The semantics of the try-with-resources feature are tightly specified, as are the semantics of other language features. Try with resources is specified in terms of a desugaring, as is the for-each loop from JDK 5. Early implementations of try-with-resources were available well ahead of JDK 7 shipping and developers were explicitly encouraged to try out try-with-resources and give feedback. [1] Based on usage of the feature and feedback sent to coin-dev and elsewhere, the try-with-resources handling of null was adjusted before JDK 7 shipped. [2] -Joe [1] https://blogs.oracle.com/darcy/entry/project_coin_try_out_try [2] https://blogs.oracle.com/darcy/entry/project_coin_null_try_with From jpfinis at gmail.com Wed May 30 06:12:43 2012 From: jpfinis at gmail.com (Jan Finis) Date: Wed, 30 May 2012 15:12:43 +0200 Subject: Type Inference Question Message-ID: <4FC61CCB.3080106@gmail.com> Hi compiler-dev Team, I am currently implementing parts of a Java compiler and I am stuck with the type inference of method type parameters, as specified in paragraph 15.12.2.7 of the Java Spec. I have already tried to ask my questions on stackoverflow, but they are so in-depth that only people who have already gone the trouble implementing this weird piece of text can help me. Actually, I have two questions, the first one was already posed on stackoverflow. I copy its text here: My problem is this line in the spec: /lcta(U) = ? if U's upper bound is Object, otherwise ? extends lub(U,Object)/ U is an arbitrary type expression. What is the upper bound of a type expression? In addition, why is the lcta always a wildcard? The spec defines /CandidateInvocation(G) = lci(Inv(G))/. Now, for example, consider the case that Inv(G) = { List }, i.e., the only possible candidate invocation is a single parameterized type. Now, due to the rule /lci(G) = G/, the result of CandidateInvocation( G ) = lci( { List } ) would be defined as: List in my opinion, lcta should simply return String here, because if List is the only possible invocation, it is a good idea to infer List as the argument. However, the definition of lcta(U) dictates that the result is either ? or ? extends lub(...), so the result IS ALWAYS a wildcard. This seems strange. What am I misinterpreting here? The second problem is about type inference of capture converted arguments. This code is taken from the openJDK collections library: class UnmodifiableMap { public static Set unmodifiableSet(Set s) { return null; } private final Map m; private transient Set keySet; public Set keySet() { if (keySet==null) keySet = UnmodifiableMap.unmodifiableSet(m.keySet()); //This line is the problem return keySet; } } the problem is the type inference for the unmodifiableSet method call. The actual type of the argument m.keySet() is Set and the formal type argument is Set. This imposes the subtype constraint Set <: Set which is simplified to Capture of ? extends K <: ? extends T and finally T :> Capture of ? extends K. According to the spec, this final constraint yields lub(Capture of ? extends K) as inferred type for T. If I read the spec correctly, lub(Capture of ? extends K) is Capture of ? extends K, so this very capture is inferred for T. My compiler does this and it produces a compile error, since the result of the method is then Set. This result cannot be applied to the variable keySet which is of type Set. Thus, the "correct" type inference should yield K instead of Capture of ? extends K. Since this is code from the standard library which should compile fine, it seems that the usual javac infers that correct bound. But how? According to the spec, Capture of ? extends K should be inferred. What am I misinterpreting here? Thank you in advance for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20120530/0c2e3d42/attachment.html From maurizio.cimadamore at oracle.com Wed May 30 07:34:29 2012 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 30 May 2012 15:34:29 +0100 Subject: Type Inference Question In-Reply-To: <4FC61CCB.3080106@gmail.com> References: <4FC61CCB.3080106@gmail.com> Message-ID: <4FC62FF5.4010707@oracle.com> On 30/05/12 14:12, Jan Finis wrote: > The second problem is about type inference of capture converted > arguments. This code is taken from the openJDK collections library: > > class UnmodifiableMap { > public static Set unmodifiableSet(Set s) { > return null; > } > > private final Map m; > private transient Set keySet; > public Set keySet() { > if (keySet==null) > keySet = UnmodifiableMap.unmodifiableSet(m.keySet()); > //This line is the problem > return keySet; > } > > > } > > the problem is the type inference for the unmodifiableSet method call. > The actual type of the argument m.keySet() is Set K> and the formal type argument is Set. This imposes the > subtype constraint Set <: Set > which is simplified to Capture of ? extends K <: ? extends T and > finally T :> Capture of ? extends K. According to the spec, this final > constraint yields lub(Capture of ? extends K) as inferred type for T. > If I read the spec correctly, lub(Capture of ? extends K) is Capture > of ? extends K, so this very capture is inferred for T. My compiler > does this and it produces a compile error, since the result of the > method is then Set. This result cannot be > applied to the variable keySet which is of type Set. Thus, the > "correct" type inference should yield K instead of Capture of ? > extends K. Since this is code from the standard library which should > compile fine, it seems that the usual javac infers that correct bound. > But how? According to the spec, Capture of ? extends K should be > inferred. What am I misinterpreting here? I'll leave the spec-related discussion to our spec gurus - but javac infers List in such cases (i.e. no wildcard), as can be demonstrated by the following example: class Test { Z m(Z z) { return null; } void test(java.util.List ls) { ls = m(ls); //ok! } } Javac has a special shortcut when there's only one constraint - call to lub is not even performed there - interestingly this helps having a consistent result with the case below (where lub is executed): class Test { Z m(Z z, Z z) { return null; } void test(java.util.List ls) { ls = m(ls, ls); //ok! } } Regarding the second problem, javac (and I believe other compilers might do this too) takes the capture of the upper bound of an argument type as 'actual type'. This allows you to type-check the code by avoiding the wildcards. There are a number of places where this technique is used - and it all has to do with usability of the resulting implementation. As the original generic javac implementation has been written when there was no spec available, there are few places where the compiler behaves differently w.r.t. JLS. During JDK 7 we addressed some of those areas and fixed them, partly by clarifying the spec, partly by rectifying the compiler implementation. Of course more is needed to bring the two in full sync. Maurizio From maurizio.cimadamore at oracle.com Wed May 30 07:38:55 2012 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 30 May 2012 15:38:55 +0100 Subject: Type Inference Question In-Reply-To: <4FC61CCB.3080106@gmail.com> References: <4FC61CCB.3080106@gmail.com> Message-ID: <4FC630FF.2020509@oracle.com> On 30/05/12 14:12, Jan Finis wrote: > Hi compiler-dev Team, > > I am currently implementing parts of a Java compiler and I am stuck > with the type inference of method type parameters, as specified in > paragraph 15.12.2.7 of the Java Spec. > > I have already tried to ask my questions on stackoverflow, but they > are so in-depth that only people who have already gone the trouble > implementing this weird piece of text can help me. > > > Actually, I have two questions, the first one was already posed on > stackoverflow. I copy its text here: > > My problem is this line in the spec: > > /lcta(U) = ? if U's upper bound is Object, otherwise ? extends > lub(U,Object)/ > > U is an arbitrary type expression. What is the upper bound of a type > expression? In addition, why is the lcta always a wildcard? > > The spec defines > > /CandidateInvocation(G) = lci(Inv(G))/. > > Now, for example, consider the case that Inv(G) = { List }, > i.e., the only possible candidate invocation is a single parameterized > type. Now, due to the rule > > /lci(G) = G/, > > the result of CandidateInvocation( G ) = lci( { List } ) would > be defined as: > > List > > in my opinion, lcta should simply return String here, because if > List is the only possible invocation, it is a good idea to > infer List as the argument. However, the definition of lcta(U) > dictates that the result is either ? or ? extends lub(...), so the > result IS ALWAYS a wildcard. This seems strange. What am I > misinterpreting here? > I'll leave the fine print to our spec guru - but javac infers List as demonstrated by the following example: class Test { Z m(Z z) { return null; } void test(java.util.List ls) { ls = m(ls); //ok! } } This is because javac has a fast-path where lub is not even executed when there's only one lower bound. Interestingly, this is what keeps this example consistent with this other one: class Test { Z m(Z z1, Z z2) { return null; } void test(java.util.List ls) { ls = m(ls, ls); //ok! } } While reading from the spec it looks like the first one should not compile while the latter should... > > > The second problem is about type inference of capture converted > arguments. This code is taken from the openJDK collections library: > > class UnmodifiableMap { > public static Set unmodifiableSet(Set s) { > return null; > } > > private final Map m; > private transient Set keySet; > public Set keySet() { > if (keySet==null) > keySet = UnmodifiableMap.unmodifiableSet(m.keySet()); > //This line is the problem > return keySet; > } > > > } > > the problem is the type inference for the unmodifiableSet method call. > The actual type of the argument m.keySet() is Set K> and the formal type argument is Set. This imposes the > subtype constraint Set <: Set > which is simplified to Capture of ? extends K <: ? extends T and > finally T :> Capture of ? extends K. According to the spec, this final > constraint yields lub(Capture of ? extends K) as inferred type for T. > If I read the spec correctly, lub(Capture of ? extends K) is Capture > of ? extends K, so this very capture is inferred for T. My compiler > does this and it produces a compile error, since the result of the > method is then Set. This result cannot be > applied to the variable keySet which is of type Set. Thus, the > "correct" type inference should yield K instead of Capture of ? > extends K. Since this is code from the standard library which should > compile fine, it seems that the usual javac infers that correct bound. > But how? According to the spec, Capture of ? extends K should be > inferred. What am I misinterpreting here? Javac workarounds the problem by using the capture of the upper bound of an argument type during method checking. This allows inference to infer less captured types, which, at the time the javac implementation with generics was rolled out, it was believed to be better in terms of usability. Maurizio > > > Thank you in advance for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20120530/6de257ec/attachment.html From jpfinis at gmail.com Wed May 30 08:14:23 2012 From: jpfinis at gmail.com (Jan Finis) Date: Wed, 30 May 2012 17:14:23 +0200 Subject: Type Inference Question In-Reply-To: <4FC630FF.2020509@oracle.com> References: <4FC61CCB.3080106@gmail.com> <4FC630FF.2020509@oracle.com> Message-ID: <4FC6394F.4040706@gmail.com> Thank you very much for your comments, On 05/30/2012 04:38 PM, Maurizio Cimadamore wrote: > > > I'll leave the spec-related discussion to our spec gurus - but javac > infers List in such cases (i.e. no wildcard), as can be > demonstrated by the following example: class Test { > Z m(Z z) { return null; } > void test(java.util.List ls) { > ls = m(ls); //ok! > } > } > I don't understand this one. This example compiles fine with my compiler (which strictly adheres to the spec and calls lub(List) which results in List in my implemention ). I also get no wildcards here. On 05/30/2012 04:38 PM, Maurizio Cimadamore wrote: > > Javac workarounds the problem by using the capture of the upper bound > of an argument type during method checking. This allows inference to > infer less captured types, which, at the time the javac implementation > with generics was rolled out, it was believed to be better in terms of > usability. Can you try to explain that in more detail? I have tried to replace captured types by their upper bounds, which makes my example compile: keySet = UnmodifiableMap.unmodifiableSet(m.keySet()); //Now, the upper bound of "Capture of ? extends K" is used, which is K, and everything compiles fine However, the standard example from the spec does not compile then: public class captureConversion { public static void reverse(List list) { rev(list); } private static void rev(List list) { List tmp = new ArrayList(); for (int i = 0; i < list.size(); i++) { list.set(i, tmp.get(list.size() - i - 1)); } } } Here, the compiler correctly infers "Capture of ?" as type of T. If I would infer the upper bound of that type, which is Object, then the method would not compile because I cannot hand a List to a method wanting a List. By the way: Do I have to create a new capture type whenever capture conversion is performed? I currently do it, but it creates quite some capture types which are only used during the checking of single expressions (because the next expression receives a new capture, even if the captured argument was already captured before). It seems like the eclipse jdt compiler does that, since its enumerats the captures. Having ten expressions with capture conversion results in "Capture #1 of ..." up to Capture #10 of ...". Is the type inference part of javac open source? If so, can you give me a hint where I can find it? The code might make many things clearer... Best regards and thanks again for your help, Jan Finis From maurizio.cimadamore at oracle.com Wed May 30 08:26:59 2012 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 30 May 2012 16:26:59 +0100 Subject: Type Inference Question In-Reply-To: <4FC6394F.4040706@gmail.com> References: <4FC61CCB.3080106@gmail.com> <4FC630FF.2020509@oracle.com> <4FC6394F.4040706@gmail.com> Message-ID: <4FC63C43.8070007@oracle.com> On 30/05/12 16:14, Jan Finis wrote: > > Thank you very much for your comments, > > > On 05/30/2012 04:38 PM, Maurizio Cimadamore wrote: >> >> >> I'll leave the spec-related discussion to our spec gurus - but javac >> infers List in such cases (i.e. no wildcard), as can be >> demonstrated by the following example: class Test { >> Z m(Z z) { return null; } >> void test(java.util.List ls) { >> ls = m(ls); //ok! >> } >> } >> > I don't understand this one. This example compiles fine with my > compiler (which strictly adheres to the spec and calls > lub(List) which results in List in my implemention ). > I also get no wildcards here. > > > On 05/30/2012 04:38 PM, Maurizio Cimadamore wrote: >> >> Javac workarounds the problem by using the capture of the upper bound >> of an argument type during method checking. This allows inference to >> infer less captured types, which, at the time the javac >> implementation with generics was rolled out, it was believed to be >> better in terms of usability. > > Can you try to explain that in more detail? I have tried to replace > captured types by their upper bounds, which makes my example compile: > > > keySet = UnmodifiableMap.unmodifiableSet(m.keySet()); //Now, the upper > bound of "Capture of ? extends K" is used, which is K, and everything > compiles fine > > > However, the standard example from the spec does not compile then: > > public class captureConversion { > public static void reverse(List list) { > rev(list); > } > > private static void rev(List list) { > List tmp = new ArrayList(); > for (int i = 0; i < list.size(); i++) { > list.set(i, tmp.get(list.size() - i - 1)); > } > } > } > > Here, the compiler correctly infers "Capture of ?" as type of T. If I > would infer the upper bound of that type, which is Object, then the > method would not compile because I cannot hand a List to a method > wanting a List. I haven't been clear - it's not the inference process (as described in 15.12.2.7) that should be adjusted - it's the way in which you compute the actual argument types. I.e. if your argument is an expression E, the actual argument type to be used during method checking is capture(upper(typeof(E))). Then you do inference as per JLS. In your first example, since typeof(E) was a captured variable, this strategy might help you out - in the example above, the type of E is List, so doing upper(typeof(E)) won't change things. > > By the way: Do I have to create a new capture type whenever capture > conversion is performed? I currently do it, but it creates quite some > capture types which are only used during the checking of single > expressions (because the next expression receives a new capture, even > if the captured argument was already captured before). It seems like > the eclipse jdt compiler does that, since its enumerats the captures. > Having ten expressions with capture conversion results in "Capture #1 > of ..." up to Capture #10 of ...". You should always create a new captured type for each new expression. Then some tricks should be used to avoid type-mismatch caused by slightly different capture of the same expression (I don't want to spoil all the fun ;-)) > > Is the type inference part of javac open source? If so, can you give > me a hint where I can find it? The code might make many things clearer... Everything is open source - look for Resolve.java, Infer.java, Attr.java here: http://hg.openjdk.java.net/jdk8/jdk8/langtools/file/tip/src/share/classes/com/sun/tools/javac/comp/ Maurizio > > Best regards and thanks again for your help, > Jan Finis > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20120530/7b85a1b5/attachment.html From jpfinis at gmail.com Wed May 30 09:30:40 2012 From: jpfinis at gmail.com (Jan Finis) Date: Wed, 30 May 2012 18:30:40 +0200 Subject: Type Inference Question In-Reply-To: <4FC63C43.8070007@oracle.com> References: <4FC61CCB.3080106@gmail.com> <4FC630FF.2020509@oracle.com> <4FC6394F.4040706@gmail.com> <4FC63C43.8070007@oracle.com> Message-ID: <4FC64B30.8050201@gmail.com> On 05/30/2012 05:26 PM, Maurizio Cimadamore wrote: > > I haven't been clear - it's not the inference process (as described in > 15.12.2.7) that should be adjusted - it's the way in which you compute > the actual argument types. I.e. if your argument is an expression E, > the actual argument type to be used during method checking is > capture(upper(typeof(E))). > > Then you do inference as per JLS. > > In your first example, since typeof(E) was a captured variable, this > strategy might help you out - in the example above, the type of E is > List, so doing upper(typeof(E)) won't change things. Thank you so much, I think I begin to understand. One last question: How do you define the upper bound of a type here? To aid my example, the upper bound of Set should be Set, so is you upper() function applied recursively to type arguments? This is also one of the point where I had problems in the spec: /cta(U) = ? if U's upper bound is Object, otherwise ? extends lub(U,Object)/ Here, the spec also talks about the upper bound of type U. But how is the upper bound of an arbitrary type defined? I cannot find it anywhere in the spec. Thanks a lot! Best regards, Jan Finis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20120530/7ed3e922/attachment.html From kumar.x.srinivasan at oracle.com Wed May 30 09:42:50 2012 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Wed, 30 May 2012 16:42:50 +0000 Subject: hg: jdk8/tl/jdk: 7168401: pack200 does not produce a compatible pack file for JDK7 classes if indy is not present Message-ID: <20120530164309.E6A5D475C4@hg.openjdk.java.net> Changeset: 41dcfdbf8f07 Author: ksrini Date: 2012-05-29 14:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/41dcfdbf8f07 7168401: pack200 does not produce a compatible pack file for JDK7 classes if indy is not present Reviewed-by: jrose ! src/share/classes/com/sun/java/util/jar/pack/Attribute.java ! src/share/classes/com/sun/java/util/jar/pack/BandStructure.java ! src/share/classes/com/sun/java/util/jar/pack/ClassReader.java ! src/share/classes/com/sun/java/util/jar/pack/ClassWriter.java ! src/share/classes/com/sun/java/util/jar/pack/Constants.java ! src/share/classes/com/sun/java/util/jar/pack/Package.java ! src/share/classes/com/sun/java/util/jar/pack/PackageReader.java ! src/share/classes/com/sun/java/util/jar/pack/PackageWriter.java ! src/share/classes/com/sun/java/util/jar/pack/PackerImpl.java ! src/share/classes/com/sun/java/util/jar/pack/PropMap.java ! src/share/classes/com/sun/java/util/jar/pack/Utils.java ! test/tools/pack200/PackageVersionTest.java From mike.duigou at oracle.com Wed May 30 20:22:35 2012 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Thu, 31 May 2012 03:22:35 +0000 Subject: hg: jdk8/tl/jdk: 6924259: Remove offset and count fields from java.lang.String Message-ID: <20120531032252.A69774763C@hg.openjdk.java.net> Changeset: 2c773daa825d Author: mduigou Date: 2012-05-17 10:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2c773daa825d 6924259: Remove offset and count fields from java.lang.String Summary: Removes the use of shared character array buffers by String along with the two fields needed to support the use of shared buffers. Reviewed-by: alanb, mduigou, forax, briangoetz Contributed-by: brian.doherty at oracle.com ! src/share/classes/java/lang/Integer.java ! src/share/classes/java/lang/Long.java ! src/share/classes/java/lang/String.java ! src/share/classes/java/lang/StringCoding.java From mike.duigou at oracle.com Wed May 30 22:19:10 2012 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Thu, 31 May 2012 05:19:10 +0000 Subject: hg: jdk8/tl/jdk: 7126277: Alternative String hashing implementation Message-ID: <20120531051930.AA11E47640@hg.openjdk.java.net> Changeset: 43bd5ee0205e Author: mduigou Date: 2012-05-30 22:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/43bd5ee0205e 7126277: Alternative String hashing implementation Summary: All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck. Reviewed-by: alanb, forax, dl ! make/java/java/FILES_java.gmk ! src/share/classes/java/lang/String.java ! src/share/classes/java/util/HashMap.java ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/LinkedHashMap.java ! src/share/classes/java/util/WeakHashMap.java ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java + src/share/classes/sun/misc/Hashing.java ! test/java/util/Collection/BiggernYours.java ! test/java/util/Hashtable/HashCode.java ! test/java/util/Hashtable/SimpleSerialization.java + test/java/util/Map/Collisions.java ! test/java/util/Map/Get.java + test/sun/misc/Hashing.java From maurizio.cimadamore at oracle.com Thu May 31 09:53:34 2012 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Thu, 31 May 2012 16:53:34 +0000 Subject: hg: jdk8/tl/langtools: 2 new changesets Message-ID: <20120531165338.65BF84764F@hg.openjdk.java.net> Changeset: af6a4c24f4e3 Author: mcimadamore Date: 2012-05-31 17:42 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/af6a4c24f4e3 7166552: Inference: cleanup usage of Type.ForAll Summary: Remove hack to callback into type-inference from assignment context Reviewed-by: dlsmith, jjg ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/AttrContext.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/6758789/T6758789b.out ! test/tools/javac/diags/examples.not-yet.txt ! test/tools/javac/diags/examples/ApplicableMethodFound1.java ! test/tools/javac/diags/examples/CantApplyDiamond1.java - test/tools/javac/diags/examples/FullInstSig.java ! test/tools/javac/diags/examples/IncompatibleTypes1.java ! test/tools/javac/diags/examples/InferredDoNotConformToLower.java - test/tools/javac/diags/examples/InvalidInferredTypes.java + test/tools/javac/diags/examples/NoUniqueMaximalInstance.java - test/tools/javac/diags/examples/UndeterminedType1.java ! test/tools/javac/diags/examples/WhereFreshTvar.java ! test/tools/javac/generics/7015430/T7015430.out ! test/tools/javac/generics/7151802/T7151802.out ! test/tools/javac/generics/inference/6315770/T6315770.out ! test/tools/javac/generics/inference/6638712/T6638712b.out ! test/tools/javac/generics/inference/6638712/T6638712e.out ! test/tools/javac/generics/inference/6650759/T6650759m.out ! test/tools/javac/generics/inference/7154127/T7154127.out ! test/tools/javac/varargs/6313164/T6313164.out Changeset: 37dc15c68760 Author: mcimadamore Date: 2012-05-31 17:44 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/37dc15c68760 7160084: javac fails to compile an apparently valid class/interface combination Summary: javac generates wrong syntetized trees for nested enum constants Reviewed-by: dlsmith, jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java + test/tools/javac/enum/7160084/T7160084a.java + test/tools/javac/enum/7160084/T7160084b.java From sean.mullan at oracle.com Thu May 31 14:10:51 2012 From: sean.mullan at oracle.com (sean.mullan at oracle.com) Date: Thu, 31 May 2012 21:10:51 +0000 Subject: hg: jdk8/tl/jdk: 3 new changesets Message-ID: <20120531211128.69A6447659@hg.openjdk.java.net> Changeset: 0c6830e7241f Author: mullan Date: 2012-05-30 17:19 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0c6830e7241f 6854712: Revocation checking enhancements (JEP-124) 6637288: Add OCSP support to PKIX CertPathBuilder implementation 7126011: ReverseBuilder.getMatchingCACerts may throws NPE Reviewed-by: xuelei ! src/share/classes/java/security/cert/CertPathBuilder.java ! src/share/classes/java/security/cert/CertPathBuilderSpi.java + src/share/classes/java/security/cert/CertPathChecker.java ! src/share/classes/java/security/cert/CertPathValidator.java ! src/share/classes/java/security/cert/CertPathValidatorSpi.java ! src/share/classes/java/security/cert/PKIXCertPathChecker.java + src/share/classes/java/security/cert/PKIXRevocationChecker.java ! src/share/classes/java/security/cert/package.html ! src/share/classes/sun/security/provider/certpath/AdjacencyList.java ! src/share/classes/sun/security/provider/certpath/BasicChecker.java ! src/share/classes/sun/security/provider/certpath/BuildStep.java ! src/share/classes/sun/security/provider/certpath/Builder.java ! src/share/classes/sun/security/provider/certpath/CertStoreHelper.java ! src/share/classes/sun/security/provider/certpath/CollectionCertStore.java ! src/share/classes/sun/security/provider/certpath/ConstraintsChecker.java - src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java ! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java ! src/share/classes/sun/security/provider/certpath/ForwardBuilder.java ! src/share/classes/sun/security/provider/certpath/ForwardState.java ! src/share/classes/sun/security/provider/certpath/IndexedCollectionCertStore.java ! src/share/classes/sun/security/provider/certpath/KeyChecker.java ! src/share/classes/sun/security/provider/certpath/OCSP.java - src/share/classes/sun/security/provider/certpath/OCSPChecker.java ! src/share/classes/sun/security/provider/certpath/OCSPRequest.java ! src/share/classes/sun/security/provider/certpath/OCSPResponse.java + src/share/classes/sun/security/provider/certpath/PKIX.java ! src/share/classes/sun/security/provider/certpath/PKIXCertPathValidator.java ! src/share/classes/sun/security/provider/certpath/PKIXMasterCertPathValidator.java ! src/share/classes/sun/security/provider/certpath/PolicyChecker.java ! src/share/classes/sun/security/provider/certpath/PolicyNodeImpl.java ! src/share/classes/sun/security/provider/certpath/ReverseBuilder.java ! src/share/classes/sun/security/provider/certpath/ReverseState.java + src/share/classes/sun/security/provider/certpath/RevocationChecker.java ! src/share/classes/sun/security/provider/certpath/SunCertPathBuilder.java ! src/share/classes/sun/security/provider/certpath/SunCertPathBuilderParameters.java ! src/share/classes/sun/security/provider/certpath/URICertStore.java ! src/share/classes/sun/security/provider/certpath/Vertex.java ! src/share/classes/sun/security/provider/certpath/X509CertPath.java ! src/share/classes/sun/security/provider/certpath/X509CertificatePair.java ! src/share/classes/sun/security/x509/X509CRLEntryImpl.java + test/java/security/cert/PKIXRevocationChecker/UnitTest.java Changeset: 3192e73394fe Author: mullan Date: 2012-05-31 17:07 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3192e73394fe Merge - src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java ! src/share/classes/sun/security/provider/certpath/ForwardBuilder.java ! src/share/classes/sun/security/provider/certpath/ForwardState.java - src/share/classes/sun/security/provider/certpath/OCSPChecker.java ! src/share/classes/sun/security/provider/certpath/PKIXCertPathValidator.java ! src/share/classes/sun/security/provider/certpath/ReverseBuilder.java ! src/share/classes/sun/security/provider/certpath/ReverseState.java ! src/share/classes/sun/security/provider/certpath/SunCertPathBuilder.java Changeset: 48dfc0df61d0 Author: mullan Date: 2012-05-31 17:10 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48dfc0df61d0 Merge From james.holmlund at oracle.com Thu May 31 15:08:26 2012 From: james.holmlund at oracle.com (james.holmlund at oracle.com) Date: Thu, 31 May 2012 22:08:26 +0000 Subject: hg: jdk8/tl/langtools: 7159016: Static import of member in processor-generated class fails in JDK 7 Message-ID: <20120531220829.D825B4766E@hg.openjdk.java.net> Changeset: 844478076c25 Author: jjh Date: 2012-05-31 15:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/844478076c25 7159016: Static import of member in processor-generated class fails in JDK 7 Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java + test/tools/javac/T7159016.java