From xuelei.fan at oracle.com Sun Sep 1 20:01:03 2013 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Mon, 02 Sep 2013 03:01:03 +0000 Subject: hg: jdk8/tl/jdk: 8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails Message-ID: <20130902030200.A5CDA6248B@hg.openjdk.java.net> Changeset: ead6babac5a9 Author: xuelei Date: 2013-09-01 20:00 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ead6babac5a9 8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails Reviewed-by: weijun ! test/sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java From chris.hegarty at oracle.com Mon Sep 2 06:03:13 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Mon, 02 Sep 2013 13:03:13 +0000 Subject: hg: jdk8/tl/jdk: 8024103: AtomicLongArray getAndAccumulate/accumulateAndGet have int type for new value arg Message-ID: <20130902130401.1BB7E624A1@hg.openjdk.java.net> Changeset: 441da45931fa Author: chegar Date: 2013-09-02 14:02 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/441da45931fa 8024103: AtomicLongArray getAndAccumulate/accumulateAndGet have int type for new value arg Reviewed-by: alanb, psandoz ! src/share/classes/java/util/concurrent/atomic/AtomicLongArray.java From daniel.fuchs at oracle.com Mon Sep 2 09:40:14 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Mon, 02 Sep 2013 16:40:14 +0000 Subject: hg: jdk8/tl/jdk: 8016127: NLS: logging.properties translatability recommendation; ... Message-ID: <20130902164042.DF39A624A9@hg.openjdk.java.net> Changeset: 92d594a938ff Author: dfuchs Date: 2013-09-02 18:28 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/92d594a938ff 8016127: NLS: logging.properties translatability recommendation 8024131: Issues with cached localizedLevelName in java.util.logging.Level Summary: This fix updates logging.properties resource bundles to follow internationalization guidelines. It also fixes a caching issue with localizedLevelName. The regression test that was added needs both fixes to pass. Reviewed-by: mchung, alanb ! src/share/classes/java/util/logging/Level.java ! src/share/classes/sun/util/logging/resources/logging.properties ! src/share/classes/sun/util/logging/resources/logging_de.properties ! src/share/classes/sun/util/logging/resources/logging_es.properties ! src/share/classes/sun/util/logging/resources/logging_fr.properties ! src/share/classes/sun/util/logging/resources/logging_it.properties ! src/share/classes/sun/util/logging/resources/logging_ja.properties ! src/share/classes/sun/util/logging/resources/logging_ko.properties ! src/share/classes/sun/util/logging/resources/logging_pt_BR.properties ! src/share/classes/sun/util/logging/resources/logging_sv.properties ! src/share/classes/sun/util/logging/resources/logging_zh_CN.properties ! src/share/classes/sun/util/logging/resources/logging_zh_TW.properties + test/java/util/logging/LocalizedLevelName.java From staffan.larsen at oracle.com Mon Sep 2 11:11:04 2013 From: staffan.larsen at oracle.com (staffan.larsen at oracle.com) Date: Mon, 02 Sep 2013 18:11:04 +0000 Subject: hg: jdk8/tl/jdk: 7172176: java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing Message-ID: <20130902181123.8FC20624AC@hg.openjdk.java.net> Changeset: a7d463f5a5b9 Author: egahlin Date: 2013-09-02 16:03 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a7d463f5a5b9 7172176: java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing Reviewed-by: mchung, mfang ! src/share/classes/sun/tools/jconsole/Resources.java ! test/ProblemList.txt - test/sun/tools/jconsole/ImmutableResourceTest.java - test/sun/tools/jconsole/ImmutableResourceTest.sh ! test/sun/tools/jconsole/ResourceCheckTest.java ! test/sun/tools/jconsole/ResourceCheckTest.sh From vicente.romero at oracle.com Mon Sep 2 14:45:09 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Mon, 02 Sep 2013 21:45:09 +0000 Subject: hg: jdk8/tl/langtools: 8022162: Incorrect signature determination for certain inner class generics Message-ID: <20130902214512.172BA624B1@hg.openjdk.java.net> Changeset: 2bf4c132bf90 Author: vromero Date: 2013-09-02 22:44 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/2bf4c132bf90 8022162: Incorrect signature determination for certain inner class generics Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java + test/tools/javac/T8022162/IncorrectSignatureDeterminationForInnerClassesTest.java From vicente.romero at oracle.com Mon Sep 2 14:39:43 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Mon, 02 Sep 2013 21:39:43 +0000 Subject: hg: jdk8/tl/langtools: 8016177: structural most specific and stuckness Message-ID: <20130902213946.1D225624AF@hg.openjdk.java.net> Changeset: 4a6acc42c3a1 Author: vromero Date: 2013-09-02 22:38 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/4a6acc42c3a1 8016177: structural most specific and stuckness Reviewed-by: jjg, vromero Contributed-by: maurizio.cimadamore at oracle.com ! src/share/classes/com/sun/tools/javac/code/Flags.java ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.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 ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/util/GraphUtils.java ! src/share/classes/com/sun/tools/javac/util/List.java ! test/tools/javac/Diagnostics/compressed/T8012003c.out ! test/tools/javac/diags/examples/BadArgTypesInLambda.java - test/tools/javac/diags/examples/CyclicInference.java ! test/tools/javac/diags/examples/IncompatibleArgTypesInMethodRef.java + test/tools/javac/diags/examples/PotentiallyAmbiguousOverload.java + test/tools/javac/lambda/8016177/T8016177a.java + test/tools/javac/lambda/8016177/T8016177a.out + test/tools/javac/lambda/8016177/T8016177b.java + test/tools/javac/lambda/8016177/T8016177b.out + test/tools/javac/lambda/8016177/T8016177c.java + test/tools/javac/lambda/8016177/T8016177c.out + test/tools/javac/lambda/8016177/T8016177d.java + test/tools/javac/lambda/8016177/T8016177e.java + test/tools/javac/lambda/8016177/T8016177f.java + test/tools/javac/lambda/8016177/T8016177g.java + test/tools/javac/lambda/8016177/T8016177g.out ! test/tools/javac/lambda/BadRecovery.out ! test/tools/javac/lambda/ErroneousLambdaExpr.java + test/tools/javac/lambda/ErroneousLambdaExpr.out ! test/tools/javac/lambda/MethodReference22.out ! test/tools/javac/lambda/MethodReference23.out ! test/tools/javac/lambda/MethodReference41.java + test/tools/javac/lambda/MethodReference41.out ! test/tools/javac/lambda/MethodReference42.java + test/tools/javac/lambda/MethodReference42.out ! test/tools/javac/lambda/MethodReference43.java + test/tools/javac/lambda/MethodReference43.out ! test/tools/javac/lambda/MethodReference44.java + test/tools/javac/lambda/MethodReference44.out ! test/tools/javac/lambda/MethodReference46.java + test/tools/javac/lambda/MethodReference46.out ! test/tools/javac/lambda/MethodReference47.java ! test/tools/javac/lambda/MethodReference47.out ! test/tools/javac/lambda/MethodReference48.java + test/tools/javac/lambda/MethodReference48.out ! test/tools/javac/lambda/MethodReference70.out ! test/tools/javac/lambda/MethodReference71.out ! test/tools/javac/lambda/MostSpecific04.java + test/tools/javac/lambda/MostSpecific04.out ! test/tools/javac/lambda/MostSpecific05.java + test/tools/javac/lambda/MostSpecific05.out ! test/tools/javac/lambda/MostSpecific08.java + test/tools/javac/lambda/MostSpecific08.out ! test/tools/javac/lambda/TargetType01.java + test/tools/javac/lambda/TargetType01.out ! test/tools/javac/lambda/TargetType02.java + test/tools/javac/lambda/TargetType02.out ! test/tools/javac/lambda/TargetType10.java - test/tools/javac/lambda/TargetType10.out ! test/tools/javac/lambda/TargetType21.java ! test/tools/javac/lambda/TargetType21.out ! test/tools/javac/lambda/TargetType24.java ! test/tools/javac/lambda/TargetType24.out ! test/tools/javac/lambda/TargetType26.out ! test/tools/javac/lambda/TargetType27.out ! test/tools/javac/lambda/TargetType39.out ! test/tools/javac/lambda/TargetType43.out ! test/tools/javac/lambda/TargetType66.java ! test/tools/javac/lambda/TargetType66.out ! test/tools/javac/lambda/mostSpecific/StructuralMostSpecificTest.java - test/tools/javac/lambda/typeInference/InferenceTest5.java + test/tools/javac/lambda/typeInference/InferenceTest6.java ! test/tools/javac/lambda/typeInference/InferenceTest_neg1_2.out - test/tools/javac/lambda/typeInference/InferenceTest_neg5.java - test/tools/javac/lambda/typeInference/InferenceTest_neg5.out ! test/tools/javac/lambda/typeInference/combo/TypeInferenceComboTest.java From mark.sheppard at oracle.com Tue Sep 3 02:23:53 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Tue, 03 Sep 2013 10:23:53 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address Message-ID: <5225AAA9.1030703@oracle.com> Hi please oblige and review the fix below to address the issue in JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address http://cr.openjdk.java.net/~msheppar/8021372/webrev/ the handling of the Ipv6IfIndex was suspect when setting the interface index and when retrieving the mac address using the index. in the getAdpaters function, the conditaionalstatement could be rolled into one. But, as there was a spurious IPv4 comment, I structured it as an if else. statement. It should be noted that IfIndex and the Ipv6IfIndex can be zero, which implies that the IPv4 or IPv6 interface is not available. This may be at odds with the setting of a default index to 0 in the Java NetworkInterface abstraction, where a defaultIndex of zero is used. JPRTs have been run and show no side effects. regards Mark From dmitry.samersoff at oracle.com Tue Sep 3 02:45:37 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Tue, 03 Sep 2013 13:45:37 +0400 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5225AAA9.1030703@oracle.com> References: <5225AAA9.1030703@oracle.com> Message-ID: <5225AFC1.2010604@oracle.com> Mark, 1. If I read the code correctly, ll. 168 - 177 is exactly the same as ll. 180 - 189 Could you refactor the fix to avoid code duplication? Would something like if ( (ptr->IfIndex != 0 && ptr->IfIndex == index) || (ptr->Ipv6IfIndex != 0 && ptr->Ipv6IfIndex == index) ) { ... } work? 2. It seems to me passed index couldn't be 0 so null check is redundant, but I don't mind to keep it. It might make sense to explicitly check passed index for 0 above loop. -Dmitry On 2013-09-03 13:23, Mark Sheppard wrote: > Hi > please oblige and review the fix below to address the issue in JDK-8021372: > NetworkInterface.getNetworkInterfaces() returns duplicate hardware address > > http://cr.openjdk.java.net/~msheppar/8021372/webrev/ > > the handling of the Ipv6IfIndex was suspect when setting the > interface index and when retrieving the mac address using the index. > > in the getAdpaters function, the conditaionalstatement could be rolled > into one. > But, as there was a spurious IPv4 comment, I structured it as an if > else. statement. > > It should be noted that IfIndex and the Ipv6IfIndex can be zero, which > implies that the > IPv4 or IPv6 interface is not available. This may be at odds with the > setting of a default index to 0 in the Java NetworkInterface abstraction, > where a defaultIndex of zero is used. > > JPRTs have been run and show no side effects. > > regards > Mark -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources. From michael.x.mcmahon at oracle.com Tue Sep 3 03:27:44 2013 From: michael.x.mcmahon at oracle.com (Michael McMahon) Date: Tue, 03 Sep 2013 11:27:44 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5225AFC1.2010604@oracle.com> References: <5225AAA9.1030703@oracle.com> <5225AFC1.2010604@oracle.com> Message-ID: <5225B9A0.4030108@oracle.com> On 03/09/13 10:45, Dmitry Samersoff wrote: > Mark, > > 1. If I read the code correctly, > > ll. 168 - 177 is exactly the same as ll. 180 - 189 > > Could you refactor the fix to avoid code duplication? > > Would something like > > if ( > (ptr->IfIndex != 0 && ptr->IfIndex == index) || > (ptr->Ipv6IfIndex != 0 && ptr->Ipv6IfIndex == index) > ) { > ... > } > > work? I think this makes sense. Also, I'm not sure I understand the purpose of the change at line 267 (old) 281 (new). What the old code seemed to be doing was interpreting an IPv6 index as actually an IPv4 one. Was that not correct? This code is rather brittle unfortunately and not the easiest to understand. Michael > > 2. It seems to me passed index couldn't be 0 so null check is redundant, > but I don't mind to keep it. > It might make sense to explicitly check passed index for 0 above loop. > > -Dmitry > > > > On 2013-09-03 13:23, Mark Sheppard wrote: >> Hi >> please oblige and review the fix below to address the issue in JDK-8021372: >> NetworkInterface.getNetworkInterfaces() returns duplicate hardware address >> >> http://cr.openjdk.java.net/~msheppar/8021372/webrev/ >> >> the handling of the Ipv6IfIndex was suspect when setting the >> interface index and when retrieving the mac address using the index. >> >> in the getAdpaters function, the conditaionalstatement could be rolled >> into one. >> But, as there was a spurious IPv4 comment, I structured it as an if >> else. statement. >> >> It should be noted that IfIndex and the Ipv6IfIndex can be zero, which >> implies that the >> IPv4 or IPv6 interface is not available. This may be at odds with the >> setting of a default index to 0 in the Java NetworkInterface abstraction, >> where a defaultIndex of zero is used. >> >> JPRTs have been run and show no side effects. >> >> regards >> Mark > From mark.sheppard at oracle.com Tue Sep 3 04:07:25 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Tue, 03 Sep 2013 12:07:25 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5225B9A0.4030108@oracle.com> References: <5225AAA9.1030703@oracle.com> <5225AFC1.2010604@oracle.com> <5225B9A0.4030108@oracle.com> Message-ID: <5225C2ED.5000805@oracle.com> Thanks for the feedback. yes, we can merge the conditional, that was my comment about the getAdapter function and the if else statement because of a spurious IPv4 comment. the 267(old) and 281(new) is the core of the issue old 262 if (nif->index == index) { 263 /* found the interface entry 264 * set the index to the IPv6 index and add the 265 * IPv6 addresses 266 */ 267 nif->index = ptr->Ipv6IfIndex; 268 c = getAddrsFromAdapter(ptr, &nif->addrs); 269 nif->naddrs += c; 270 break; 271 } new 276 if (nif->index == index) { 277 /* found the interface entry 278 * set the index to the IPv6 index and add the 279 * IPv6 addresses 280 */ 281 nif->ipv6Index = ptr->Ipv6IfIndex; 282 c = getAddrsFromAdapter(ptr, &nif->addrs); 283 nif->naddrs += c; 284 break; 285 } the nif->index is already set in the IPv4 case, hence if (nif->index == index) . In the original code the assignment was overwriting this value with Ipv6IfIndex, but this can be zero, if IPv6 is not available for that adapter, but IPv6 is enabled in the OS. Hence, NetworkInterface.getHardwareAddress returns the physical address associated with index 0. When, both IPv4 and IPv6 are configured for an interface then this discrepancy is not seen. As netif has an ipv6Index member, the Ipv6IfIndex assignment seemed appropriate. This is then supplemented with an additional check against the Ipv6IfIndex member of IP_ADAPTER_ADDRESSES when checking the index. when both IPv4 and IPv6 are available on an interface, then the index should be the same. As such, an OS can be enabled for both IPv4 and IPv6, while an interface may be configured for IPv4 only, which coincidentally was how I managed to reproduce the issue! regards Mark On 03/09/2013 11:27, Michael McMahon wrote: > On 03/09/13 10:45, Dmitry Samersoff wrote: >> Mark, >> >> 1. If I read the code correctly, >> >> ll. 168 - 177 is exactly the same as ll. 180 - 189 >> >> Could you refactor the fix to avoid code duplication? >> >> Would something like >> >> if ( >> (ptr->IfIndex != 0 && ptr->IfIndex == index) || >> (ptr->Ipv6IfIndex != 0 && ptr->Ipv6IfIndex == index) >> ) { >> ... >> } >> >> work? > > I think this makes sense. > > Also, I'm not sure I understand the purpose of the change > at line 267 (old) 281 (new). What the old code seemed to be doing > was interpreting an IPv6 index as actually an IPv4 one. > Was that not correct? This code is rather brittle unfortunately > and not the easiest to understand. > > Michael > > > >> >> 2. It seems to me passed index couldn't be 0 so null check is redundant, >> but I don't mind to keep it. >> It might make sense to explicitly check passed index for 0 above >> loop. >> >> -Dmitry >> >> >> >> On 2013-09-03 13:23, Mark Sheppard wrote: >>> Hi >>> please oblige and review the fix below to address the issue in >>> JDK-8021372: >>> NetworkInterface.getNetworkInterfaces() returns duplicate hardware >>> address >>> >>> http://cr.openjdk.java.net/~msheppar/8021372/webrev/ >>> >>> the handling of the Ipv6IfIndex was suspect when setting the >>> interface index and when retrieving the mac address using the index. >>> >>> in the getAdpaters function, the conditaionalstatement could be rolled >>> into one. >>> But, as there was a spurious IPv4 comment, I structured it as an if >>> else. statement. >>> >>> It should be noted that IfIndex and the Ipv6IfIndex can be zero, which >>> implies that the >>> IPv4 or IPv6 interface is not available. This may be at odds with the >>> setting of a default index to 0 in the Java NetworkInterface >>> abstraction, >>> where a defaultIndex of zero is used. >>> >>> JPRTs have been run and show no side effects. >>> >>> regards >>> Mark >> > From rob.mckenna at oracle.com Tue Sep 3 08:18:46 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Tue, 03 Sep 2013 16:18:46 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX Message-ID: <5225FDD6.7040106@oracle.com> Hi folks, Mac seems to have trouble looking up local hostnames using getaddrinfo unless a domain is set. The solution is to add a check with getifaddrs . This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen a canonical answer on whether this is the way to go so I figured trial by fire might get the discussion going. http://cr.openjdk.java.net/~robm/7180557/webrev.01/ -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130903/5f9ef208/attachment.html From mike.duigou at oracle.com Tue Sep 3 11:29:51 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Tue, 03 Sep 2013 18:29:51 +0000 Subject: hg: jdk8/tl/jdk: 8024015: TEST.groups: move jdk/lambda tests from jdk_other to jdk_lang Message-ID: <20130903183016.83E8F624D5@hg.openjdk.java.net> Changeset: 4bdbe25b1e04 Author: mduigou Date: 2013-09-03 11:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4bdbe25b1e04 8024015: TEST.groups: move jdk/lambda tests from jdk_other to jdk_lang Reviewed-by: alanb, mchung ! test/TEST.groups From sean.coffey at oracle.com Tue Sep 3 14:38:37 2013 From: sean.coffey at oracle.com (sean.coffey at oracle.com) Date: Tue, 03 Sep 2013 21:38:37 +0000 Subject: hg: jdk8/tl/jdk: 8017195: Introduce option to setKeepAlive parameter on CORBA sockets Message-ID: <20130903213858.AB7C2624EB@hg.openjdk.java.net> Changeset: 5920155dd080 Author: coffeys Date: 2013-09-03 22:37 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5920155dd080 8017195: Introduce option to setKeepAlive parameter on CORBA sockets Reviewed-by: chegar, msheppar + test/com/sun/corba/transport/KeepAliveSockets.java From sean.coffey at oracle.com Tue Sep 3 14:38:13 2013 From: sean.coffey at oracle.com (sean.coffey at oracle.com) Date: Tue, 03 Sep 2013 21:38:13 +0000 Subject: hg: jdk8/tl/corba: 8017195: Introduce option to setKeepAlive parameter on CORBA sockets Message-ID: <20130903213814.6AB1C624E9@hg.openjdk.java.net> Changeset: af8e5bc3a150 Author: coffeys Date: 2013-09-03 22:35 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/af8e5bc3a150 8017195: Introduce option to setKeepAlive parameter on CORBA sockets Reviewed-by: chegar, msheppar ! src/share/classes/com/sun/corba/se/impl/transport/DefaultSocketFactoryImpl.java From vicente.romero at oracle.com Tue Sep 3 15:32:39 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Tue, 03 Sep 2013 22:32:39 +0000 Subject: hg: jdk8/tl/langtools: 8023389: Javac fails to infer type for lambda used with intersection type and wildcards Message-ID: <20130903223245.6CEFF624F9@hg.openjdk.java.net> Changeset: fb5a846c4a49 Author: vromero Date: 2013-09-03 23:31 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/fb5a846c4a49 8023389: Javac fails to infer type for lambda used with intersection type and wildcards Reviewed-by: jjg, vromero Contributed-by: maurizio.cimadamore at oracle.com ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/lambda/8023389/T8023389.java From mike.duigou at oracle.com Tue Sep 3 15:27:52 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Tue, 03 Sep 2013 22:27:52 +0000 Subject: hg: jdk8/tl: 8024200: handle hg wrapper with space after #! Message-ID: <20130903222753.16AF5624F7@hg.openjdk.java.net> Changeset: 6d7f27953da6 Author: mduigou Date: 2013-09-03 15:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/6d7f27953da6 8024200: handle hg wrapper with space after #! Reviewed-by: tbell ! common/bin/hgforest.sh From vicente.romero at oracle.com Tue Sep 3 15:48:35 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Tue, 03 Sep 2013 22:48:35 +0000 Subject: hg: jdk8/tl/langtools: 8023545: Misleading error message when using diamond operator with private constructor Message-ID: <20130903224838.B0601624FC@hg.openjdk.java.net> Changeset: 9be0afbdf244 Author: vromero Date: 2013-09-03 23:41 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/9be0afbdf244 8023545: Misleading error message when using diamond operator with private constructor Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/T8023545/MisleadingErrorMsgDiamondPlusPrivateCtorTest.java + test/tools/javac/T8023545/MisleadingErrorMsgDiamondPlusPrivateCtorTest.out From vicente.romero at oracle.com Tue Sep 3 16:02:41 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Tue, 03 Sep 2013 23:02:41 +0000 Subject: hg: jdk8/tl/langtools: 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied Message-ID: <20130903230245.08C30624FD@hg.openjdk.java.net> Changeset: 438547d895dc Author: vromero Date: 2013-09-04 00:01 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/438547d895dc 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied Reviewed-by: jjg, vromero Contributed-by: maurizio.cimadamore at oracle.com ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/diags/examples/MrefInferAndExplicitParams.java + test/tools/javac/lambda/8023549/T8023549.java + test/tools/javac/lambda/8023549/T8023549.out From david.holmes at oracle.com Tue Sep 3 20:52:51 2013 From: david.holmes at oracle.com (david.holmes at oracle.com) Date: Wed, 04 Sep 2013 03:52:51 +0000 Subject: hg: jdk8/tl/jdk: 8024140: [TESTBUG] Profile based regression test groups for jdk repo Message-ID: <20130904035308.EA4B662504@hg.openjdk.java.net> Changeset: 2cdd1078f45b Author: dholmes Date: 2013-09-03 23:47 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2cdd1078f45b 8024140: [TESTBUG] Profile based regression test groups for jdk repo Reviewed-by: alanb, chegar ! test/TEST.groups From paul.sandoz at oracle.com Wed Sep 4 00:32:57 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Wed, 04 Sep 2013 07:32:57 +0000 Subject: hg: jdk8/tl/jdk: 8024182: test/java/util/Arrays/SetAllTest.java fails to compile due to recent compiler changes Message-ID: <20130904073331.52F5B6252A@hg.openjdk.java.net> Changeset: 462c5589bc1a Author: psandoz Date: 2013-08-12 12:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/462c5589bc1a 8024182: test/java/util/Arrays/SetAllTest.java fails to compile due to recent compiler changes Summary: Use explicit lambda due to javac simplfying rules for overload resolution with implicit lambdas Reviewed-by: alanb, mduigou ! test/java/util/Arrays/SetAllTest.java From mark.sheppard at oracle.com Wed Sep 4 00:59:25 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Wed, 04 Sep 2013 08:59:25 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address Message-ID: <5226E85D.3000803@oracle.com> Hi based on feedback for initial fix, an amended webrev has been created. So, please oblige and review the fix below to address the issue in JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address webrev: http://cr.openjdk.java.net/~msheppar/8021372/webrev.01/ regressions re-run with no ill effects regards Mark From paul.sandoz at oracle.com Wed Sep 4 00:54:04 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Wed, 04 Sep 2013 07:54:04 +0000 Subject: hg: jdk8/tl/jdk: 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black); ... Message-ID: <20130904075421.EE3746252F@hg.openjdk.java.net> Changeset: d62c911aebbb Author: psandoz Date: 2013-09-04 09:34 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d62c911aebbb 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black) 8012913: LinkedHashMap key/value/entry spliterators should report ORDERED Reviewed-by: mduigou, forax, bchristi, alanb Contributed-by: Doug Lea
, Paul Sandoz ! src/share/classes/java/util/HashMap.java ! src/share/classes/java/util/LinkedHashMap.java ! test/java/lang/reflect/Generics/Probe.java ! test/java/util/Map/CheckRandomHashSeed.java ! test/java/util/Map/InPlaceOpsCollisions.java + test/java/util/Map/MapBinToFromTreeTest.java - test/java/util/Map/TreeBinSplitBackToEntries.java ! test/java/util/Spliterator/SpliteratorCharacteristics.java From chris.hegarty at oracle.com Wed Sep 4 02:36:48 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Wed, 04 Sep 2013 10:36:48 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5225FDD6.7040106@oracle.com> References: <5225FDD6.7040106@oracle.com> Message-ID: <5226FF30.8010402@oracle.com> Rob, I haven't looked at the changes yet, but I'm curious about the decision to use getifaddrs. I know that there was a discussion started at one point to determine what Apple's JDK6 is doing to retrieve the local machines IP information. Did that discussion lead to getifaddrs? -Chris. On 03/09/2013 16:18, Rob McKenna wrote: > Hi folks, > > Mac seems to have trouble looking up local hostnames using getaddrinfo > unless a domain is set. The solution is to add a check with getifaddrs . > > This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen > a canonical answer on whether this is the way to go so I figured trial > by fire might get the discussion going. > > http://cr.openjdk.java.net/~robm/7180557/webrev.01/ > > -Rob > From chris.hegarty at oracle.com Wed Sep 4 03:39:45 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Wed, 04 Sep 2013 11:39:45 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5226E85D.3000803@oracle.com> References: <5226E85D.3000803@oracle.com> Message-ID: <52270DF1.1050308@oracle.com> Mark, The source changes look good to me. The test is a good addition, but trivially I would... 1) remove the @build and @run tags. I don't think they are needed as I don't see that the test needs to run in othervm mode. 2) remove all exception handling code, and just declare all methods to throw Exception. The jtreg harness will show the test as failed if an unhandled exception is thrown. -Chris. On 04/09/2013 08:59, Mark Sheppard wrote: > Hi > based on feedback for initial fix, an amended webrev has been created. > So, please oblige and review the fix below to address the issue in > JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate > hardware address > > webrev: > http://cr.openjdk.java.net/~msheppar/8021372/webrev.01/ > > regressions re-run with no ill effects > > regards > Mark From alan.bateman at oracle.com Wed Sep 4 03:43:16 2013 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Wed, 04 Sep 2013 10:43:16 +0000 Subject: hg: jdk8/tl/jdk: 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess Message-ID: <20130904104408.A440B62545@hg.openjdk.java.net> Changeset: 336784cd60c3 Author: alanb Date: 2013-09-04 11:40 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/336784cd60c3 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess Reviewed-by: anthony, art, mchung ! src/macosx/classes/sun/lwawt/LWToolkit.java ! src/share/classes/java/awt/TextComponent.java ! src/share/classes/java/awt/Toolkit.java ! src/share/classes/java/awt/Window.java ! src/share/classes/java/awt/event/InputEvent.java ! src/share/classes/java/lang/SecurityManager.java ! src/share/classes/sun/applet/AppletSecurity.java ! src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java ! src/share/classes/sun/swing/SwingUtilities2.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/windows/classes/sun/awt/windows/WToolkit.java + test/java/awt/security/Permissions.java From vicente.romero at oracle.com Wed Sep 4 03:54:15 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Wed, 04 Sep 2013 10:54:15 +0000 Subject: hg: jdk8/tl/langtools: 8008275: javac.Main should be @Supported Message-ID: <20130904105427.AFBD862546@hg.openjdk.java.net> Changeset: b94824ddcbb6 Author: vromero Date: 2013-09-04 11:53 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b94824ddcbb6 8008275: javac.Main should be @Supported Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/Main.java From daniel.fuchs at oracle.com Wed Sep 4 06:34:23 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Wed, 04 Sep 2013 13:34:23 +0000 Subject: hg: jdk8/tl/jdk: 6823527: java.util.logging.Handler has thread safety issues Message-ID: <20130904133455.3B2146254E@hg.openjdk.java.net> Changeset: ac6e99af2056 Author: dfuchs Date: 2013-09-04 15:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ac6e99af2056 6823527: java.util.logging.Handler has thread safety issues Reviewed-by: dholmes, mchung ! src/share/classes/java/util/logging/ConsoleHandler.java ! src/share/classes/java/util/logging/FileHandler.java ! src/share/classes/java/util/logging/Handler.java ! src/share/classes/java/util/logging/MemoryHandler.java ! src/share/classes/java/util/logging/SocketHandler.java ! src/share/classes/java/util/logging/StreamHandler.java From rob.mckenna at oracle.com Wed Sep 4 06:49:28 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Wed, 04 Sep 2013 14:49:28 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5226FF30.8010402@oracle.com> References: <5225FDD6.7040106@oracle.com> <5226FF30.8010402@oracle.com> Message-ID: <52273A68.6080301@oracle.com> Indeed it did. -Rob On 04/09/13 10:36, Chris Hegarty wrote: > Rob, > > I haven't looked at the changes yet, but I'm curious about the > decision to use getifaddrs. I know that there was a discussion started > at one point to determine what Apple's JDK6 is doing to retrieve the > local machines IP information. Did that discussion lead to getifaddrs? > > -Chris. > > On 03/09/2013 16:18, Rob McKenna wrote: >> Hi folks, >> >> Mac seems to have trouble looking up local hostnames using getaddrinfo >> unless a domain is set. The solution is to add a check with getifaddrs . >> >> This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen >> a canonical answer on whether this is the way to go so I figured trial >> by fire might get the discussion going. >> >> http://cr.openjdk.java.net/~robm/7180557/webrev.01/ >> >> -Rob >> From daniel.fuchs at oracle.com Wed Sep 4 07:54:52 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Wed, 04 Sep 2013 14:54:52 +0000 Subject: hg: jdk8/tl/jdk: 8019853: Break logging and AWT circular dependency Message-ID: <20130904145522.D672D62558@hg.openjdk.java.net> Changeset: b3d6953b9829 Author: dfuchs Date: 2013-09-04 16:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b3d6953b9829 8019853: Break logging and AWT circular dependency Summary: Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance Reviewed-by: mchung, art ! src/share/classes/java/util/logging/LogManager.java ! src/share/classes/sun/awt/AppContext.java ! src/share/classes/sun/misc/JavaAWTAccess.java ! src/share/classes/sun/misc/SharedSecrets.java ! test/java/util/logging/TestAppletLoggerContext.java + test/java/util/logging/TestLoggingWithMainAppContext.java From xueming.shen at oracle.com Wed Sep 4 12:31:47 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Wed, 04 Sep 2013 19:31:47 +0000 Subject: hg: jdk8/tl/jdk: 6341345: (spec) Console.reader() should make it clear that the reader requires line termination Message-ID: <20130904193159.060FA6256A@hg.openjdk.java.net> Changeset: 478afc30679b Author: sherman Date: 2013-09-04 12:35 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/478afc30679b 6341345: (spec) Console.reader() should make it clear that the reader requires line termination Summary: to clarify the spec Reviewed-by: alanb ! src/share/classes/java/io/Console.java From xueming.shen at oracle.com Wed Sep 4 12:33:50 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Wed, 04 Sep 2013 19:33:50 +0000 Subject: hg: jdk8/tl/jdk: 7186632: NLS t13y issue on jar.properties file Message-ID: <20130904193402.691896256B@hg.openjdk.java.net> Changeset: c6a4df06d57e Author: sherman Date: 2013-09-04 12:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c6a4df06d57e 7186632: NLS t13y issue on jar.properties file Summary: to remove the redundant backslash Reviewed-by: naoto ! src/share/classes/sun/tools/jar/resources/jar.properties From jonathan.gibbons at oracle.com Wed Sep 4 14:45:25 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Wed, 04 Sep 2013 21:45:25 +0000 Subject: hg: jdk8/tl/langtools: 8024288: javadoc generated-by comment should always be present Message-ID: <20130904214528.81C7F6257C@hg.openjdk.java.net> Changeset: 044721d4d359 Author: jjg Date: 2013-09-04 14:44 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/044721d4d359 8024288: javadoc generated-by comment should always be present Reviewed-by: bpatel ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java ! test/com/sun/javadoc/testGeneratedBy/TestGeneratedBy.java From mark.sheppard at oracle.com Thu Sep 5 09:07:38 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Thu, 05 Sep 2013 17:07:38 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <52270DF1.1050308@oracle.com> References: <5226E85D.3000803@oracle.com> <52270DF1.1050308@oracle.com> Message-ID: <5228AC4A.8000902@oracle.com> Hi, please oblige and review the latest version of the fix below to address the issue in JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address This incorporates Chris' suggestions wrt amending the associated test. http://cr.openjdk.java.net/~msheppar/8021372/webrev.02/ regards Mark On 04/09/2013 11:39, Chris Hegarty wrote: > Mark, > > The source changes look good to me. > > The test is a good addition, but trivially I would... > 1) remove the @build and @run tags. I don't think they are needed > as I don't see that the test needs to run in othervm mode. > 2) remove all exception handling code, and just declare all methods > to throw Exception. The jtreg harness will show the test as failed > if an unhandled exception is thrown. > > -Chris. > > On 04/09/2013 08:59, Mark Sheppard wrote: >> Hi >> based on feedback for initial fix, an amended webrev has been created. >> So, please oblige and review the fix below to address the issue in >> JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate >> hardware address >> >> webrev: >> http://cr.openjdk.java.net/~msheppar/8021372/webrev.01/ >> >> regressions re-run with no ill effects >> >> regards >> Mark From chris.hegarty at oracle.com Thu Sep 5 09:43:51 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Thu, 05 Sep 2013 17:43:51 +0100 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5228AC4A.8000902@oracle.com> References: <5226E85D.3000803@oracle.com> <52270DF1.1050308@oracle.com> <5228AC4A.8000902@oracle.com> Message-ID: <5228B4C7.9000602@oracle.com> Looks good to me Mark. I can sponsor this for you. -Chris. On 09/05/2013 05:07 PM, Mark Sheppard wrote: > Hi, > > please oblige and review the latest version of the fix below to address > the issue in JDK-8021372: > NetworkInterface.getNetworkInterfaces() returns duplicate hardware address > This incorporates Chris' suggestions wrt amending the associated test. > > http://cr.openjdk.java.net/~msheppar/8021372/webrev.02/ > > regards > Mark > > On 04/09/2013 11:39, Chris Hegarty wrote: >> Mark, >> >> The source changes look good to me. >> >> The test is a good addition, but trivially I would... >> 1) remove the @build and @run tags. I don't think they are needed >> as I don't see that the test needs to run in othervm mode. >> 2) remove all exception handling code, and just declare all methods >> to throw Exception. The jtreg harness will show the test as failed >> if an unhandled exception is thrown. >> >> -Chris. >> >> On 04/09/2013 08:59, Mark Sheppard wrote: >>> Hi >>> based on feedback for initial fix, an amended webrev has been created. >>> So, please oblige and review the fix below to address the issue in >>> JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate >>> hardware address >>> >>> webrev: >>> http://cr.openjdk.java.net/~msheppar/8021372/webrev.01/ >>> >>> regressions re-run with no ill effects >>> >>> regards >>> Mark > From naoto.sato at oracle.com Thu Sep 5 10:16:36 2013 From: naoto.sato at oracle.com (naoto.sato at oracle.com) Date: Thu, 05 Sep 2013 17:16:36 +0000 Subject: hg: jdk8/tl/jdk: 8023943: Method description fix for String.toLower/UpperCase() methods Message-ID: <20130905171649.D9E73625AC@hg.openjdk.java.net> Changeset: 4c711ef41bfa Author: naoto Date: 2013-09-05 10:14 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4c711ef41bfa 8023943: Method description fix for String.toLower/UpperCase() methods Reviewed-by: okutsu ! src/share/classes/java/lang/String.java From chris.hegarty at oracle.com Thu Sep 5 12:47:09 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Thu, 05 Sep 2013 20:47:09 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <52273A68.6080301@oracle.com> References: <5225FDD6.7040106@oracle.com> <5226FF30.8010402@oracle.com> <52273A68.6080301@oracle.com> Message-ID: <5228DFBD.3010509@oracle.com> On 09/04/2013 02:49 PM, Rob McKenna wrote: > Indeed it did. Great, so we should behave in a similar manner to that of Apple's JDK6. I think I understand why you added lookupIfLocalhost before getaddrinfo, in lookupAllHostAddr, but it has the consequence of retrieving the hostname for every other lookup. I wonder if the new code could be added after getaddrinfo, if no address could be found? This would mean that a DNS name would trump the local machine configuration, but that may not be so bad. -Chris. > > -Rob > > On 04/09/13 10:36, Chris Hegarty wrote: >> Rob, >> >> I haven't looked at the changes yet, but I'm curious about the >> decision to use getifaddrs. I know that there was a discussion started >> at one point to determine what Apple's JDK6 is doing to retrieve the >> local machines IP information. Did that discussion lead to getifaddrs? >> >> -Chris. >> >> On 03/09/2013 16:18, Rob McKenna wrote: >>> Hi folks, >>> >>> Mac seems to have trouble looking up local hostnames using getaddrinfo >>> unless a domain is set. The solution is to add a check with getifaddrs . >>> >>> This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen >>> a canonical answer on whether this is the way to go so I figured trial >>> by fire might get the discussion going. >>> >>> http://cr.openjdk.java.net/~robm/7180557/webrev.01/ >>> >>> -Rob >>> > From dmitry.samersoff at oracle.com Thu Sep 5 12:55:02 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Thu, 05 Sep 2013 23:55:02 +0400 Subject: RFR:JDK-8021372 NetworkInterface.getNetworkInterfaces() returns duplicate hardware address In-Reply-To: <5228AC4A.8000902@oracle.com> References: <5226E85D.3000803@oracle.com> <52270DF1.1050308@oracle.com> <5228AC4A.8000902@oracle.com> Message-ID: <5228E196.5030601@oracle.com> Mark, Looks good for me besides the fact that if (((ptr->IfIndex != 0)&&(ptr->IfIndex == index)) || ((ptr->Ipv6IfIndex !=0) && (ptr->Ipv6IfIndex == index))) { could be written as: ll. 129 if ( index == 0 ) return NULL; if (ptr->IfIndex == index || ptr->Ipv6IfIndex == index) { ... } But I'm OK to leave everything as is - compiler should do it for you. -Dmitry On 2013-09-05 20:07, Mark Sheppard wrote: > Hi, > > please oblige and review the latest version of the fix below to address- > the issue in JDK-8021372: > NetworkInterface.getNetworkInterfaces() returns duplicate hardware address > This incorporates Chris' suggestions wrt amending the associated test. > > http://cr.openjdk.java.net/~msheppar/8021372/webrev.02/ > > regards > Mark > > On 04/09/2013 11:39, Chris Hegarty wrote: >> Mark, >> >> The source changes look good to me. >> >> The test is a good addition, but trivially I would... >> 1) remove the @build and @run tags. I don't think they are needed >> as I don't see that the test needs to run in othervm mode. >> 2) remove all exception handling code, and just declare all methods >> to throw Exception. The jtreg harness will show the test as failed >> if an unhandled exception is thrown. >> >> -Chris. >> >> On 04/09/2013 08:59, Mark Sheppard wrote: >>> Hi >>> based on feedback for initial fix, an amended webrev has been created. >>> So, please oblige and review the fix below to address the issue in >>> JDK-8021372: NetworkInterface.getNetworkInterfaces() returns duplicate >>> hardware address >>> >>> webrev: >>> http://cr.openjdk.java.net/~msheppar/8021372/webrev.01/ >>> >>> regressions re-run with no ill effects >>> >>> regards >>> Mark > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources. From dmitry.samersoff at oracle.com Thu Sep 5 13:13:22 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Fri, 06 Sep 2013 00:13:22 +0400 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5225FDD6.7040106@oracle.com> References: <5225FDD6.7040106@oracle.com> Message-ID: <5228E5E2.4030607@oracle.com> Rob, Instead of iterating interfaces list twice you can maintain two indices, as you already know exact number of addresses. put_v4_at(i) put_v6_at(j+v4count) Also you can take a look at solaris/native/java/net/NetworkInterface.c and possibly re-use some logic from there. -Dmitry On 2013-09-03 19:18, Rob McKenna wrote: > Hi folks, > > Mac seems to have trouble looking up local hostnames using getaddrinfo > unless a domain is set. The solution is to add a check with getifaddrs . > > This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen > a canonical answer on whether this is the way to go so I figured trial > by fire might get the discussion going. > > http://cr.openjdk.java.net/~robm/7180557/webrev.01/ > > -Rob > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources. From dmitry.samersoff at oracle.com Thu Sep 5 13:33:35 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Fri, 06 Sep 2013 00:33:35 +0400 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5225FDD6.7040106@oracle.com> References: <5225FDD6.7040106@oracle.com> Message-ID: <5228EA9F.3060700@oracle.com> Rob, Did you try to remove hints.ai_flags = AI_CANONNAME this flag asks getaddreinfo to return FQDN, but the function behavior is not clearly defined for the case where FQDN is not available. -Dmitry On 2013-09-03 19:18, Rob McKenna wrote: > Hi folks, > > Mac seems to have trouble looking up local hostnames using getaddrinfo > unless a domain is set. The solution is to add a check with getifaddrs . > > This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen > a canonical answer on whether this is the way to go so I figured trial > by fire might get the discussion going. > > http://cr.openjdk.java.net/~robm/7180557/webrev.01/ > > -Rob > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources. From bernd-2013 at eckenfels.net Thu Sep 5 14:30:27 2013 From: bernd-2013 at eckenfels.net (Bernd Eckenfels) Date: Thu, 05 Sep 2013 23:30:27 +0200 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5228EA9F.3060700@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> Message-ID: Hello, I reported before, AI_CANONNAME is used in different places with no good reason. If you use the flag, the result would be in res[0].ai_canonname, which is not used. So you can remove it and safe the elaborate resolving which comes with it. And I also think the comment "skip DNS lookup" is wrong, as GAI typically (also) looks in /etc/hosts - and this is also documented in the mac os man page. So I think if you remove the flag you dont need the lookupIflocalhost shortcut at all (or you need it on all systems). And if you have a look there, I think the AI_ADDRCONFIG should be considered, instead. Gruss Bernd Am 05.09.2013, 22:33 Uhr, schrieb Dmitry Samersoff : > Rob, > > Did you try to remove > > hints.ai_flags = AI_CANONNAME > > this flag asks getaddreinfo to return FQDN, but the function behavior is > not clearly defined for the case where FQDN is not available. From vicente.romero at oracle.com Fri Sep 6 01:54:15 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Fri, 06 Sep 2013 08:54:15 +0000 Subject: hg: jdk8/tl/langtools: 8024039: javac, previous solution for JDK-8022186 was incorrect Message-ID: <20130906085421.6D160625FC@hg.openjdk.java.net> Changeset: 7c7b4aea6d50 Author: vromero Date: 2013-09-06 09:53 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/7c7b4aea6d50 8024039: javac, previous solution for JDK-8022186 was incorrect Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java + test/tools/javac/T8024039/NoDeadCodeGenerationOnTrySmtTest.java From rob.mckenna at oracle.com Fri Sep 6 07:58:31 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Fri, 06 Sep 2013 15:58:31 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> Message-ID: <5229ED97.3060506@oracle.com> Thanks for the comments folks. Chris, I like the idea of moving this check below the GAI call. Dmitry, that loop is indeed a bit of a code smell. I'll take care of it. Bernd / Dmitry, thanks for the notes on AI_CANONNAME. I'll adjust the code and get some testing done then report back! I've kept this code as close to the apple version as sensible but the feedback received so far trumps that. -Rob On 05/09/13 22:30, Bernd Eckenfels wrote: > Hello, > > I reported before, AI_CANONNAME is used in different places with no > good reason. If you use the flag, the result would be in > res[0].ai_canonname, which is not used. So you can remove it and safe > the elaborate resolving which comes with it. > > And I also think the comment "skip DNS lookup" is wrong, as GAI > typically (also) looks in /etc/hosts - and this is also documented in > the mac os man page. > > So I think if you remove the flag you dont need the lookupIflocalhost > shortcut at all (or you need it on all systems). > > And if you have a look there, I think the AI_ADDRCONFIG should be > considered, instead. > > Gruss > Bernd > > Am 05.09.2013, 22:33 Uhr, schrieb Dmitry Samersoff > : > >> Rob, >> >> Did you try to remove >> >> hints.ai_flags = AI_CANONNAME >> >> this flag asks getaddreinfo to return FQDN, but the function behavior is >> not clearly defined for the case where FQDN is not available. From sean.mullan at oracle.com Fri Sep 6 09:18:33 2013 From: sean.mullan at oracle.com (sean.mullan at oracle.com) Date: Fri, 06 Sep 2013 16:18:33 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130906161859.057FC6260C@hg.openjdk.java.net> Changeset: 0aba8b6232af Author: mullan Date: 2013-09-06 12:04 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0aba8b6232af 8023362: Don't allow soft-fail behavior if OCSP responder returns "unauthorized" Reviewed-by: vinnie, xuelei ! src/share/classes/java/security/cert/PKIXRevocationChecker.java ! src/share/classes/sun/security/provider/certpath/OCSPResponse.java + test/java/security/cert/PKIXRevocationChecker/OcspUnauthorized.java Changeset: f23a84a1cf8e Author: mullan Date: 2013-09-06 12:10 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f23a84a1cf8e Merge - src/share/classes/java/util/stream/CloseableStream.java - src/share/classes/java/util/stream/DelegatingStream.java - test/java/util/Map/TreeBinSplitBackToEntries.java - test/sun/tools/jconsole/ImmutableResourceTest.java - test/sun/tools/jconsole/ImmutableResourceTest.sh From jonathan.gibbons at oracle.com Fri Sep 6 15:32:11 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Fri, 06 Sep 2013 22:32:11 +0000 Subject: hg: jdk8/tl/langtools: 8024434: problem running javadoc tests in samevm mode on Windows Message-ID: <20130906223218.3827162619@hg.openjdk.java.net> Changeset: 64328fe5e4a6 Author: jjg Date: 2013-09-06 15:31 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/64328fe5e4a6 8024434: problem running javadoc tests in samevm mode on Windows Reviewed-by: darcy ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java ! test/tools/javadoc/api/basic/APITest.java ! test/tools/javadoc/api/basic/GetTask_FileManagerTest.java From lana.steuck at oracle.com Fri Sep 6 17:10:57 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:10:57 +0000 Subject: hg: jdk8/tl: 11 new changesets Message-ID: <20130907001059.37A9262620@hg.openjdk.java.net> Changeset: f8405a0fa69c Author: erikj Date: 2013-08-26 13:43 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/f8405a0fa69c 8023216: Feedback on README-builds.html Reviewed-by: anthony, robilad, tbell ! README-builds.html Changeset: 5166118c5917 Author: katleman Date: 2013-08-26 17:34 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/5166118c5917 Merge Changeset: 246cdbaa6c62 Author: cl Date: 2013-08-29 09:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/246cdbaa6c62 Added tag jdk8-b105 for changeset 5166118c5917 ! .hgtags Changeset: 4ac867c44467 Author: lana Date: 2013-08-29 16:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/4ac867c44467 Merge Changeset: 21198f51bc7e Author: erikj Date: 2013-08-29 15:47 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/21198f51bc7e 8003162: build-infra: Improve suggestions for missing packages on linux Reviewed-by: tbell, omajid ! common/autoconf/generated-configure.sh ! common/autoconf/help.m4 ! common/autoconf/libraries.m4 Changeset: 92facce22941 Author: erikj Date: 2013-08-30 10:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/92facce22941 8023957: Lock down version of autoconf Reviewed-by: chegar, dsamersoff, tbell, dholmes ! README-builds.html ! common/autoconf/autogen.sh ! common/autoconf/configure.ac ! common/autoconf/generated-configure.sh Changeset: 2aacc7080d36 Author: katleman Date: 2013-09-03 13:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/2aacc7080d36 Merge Changeset: 0f6dde6231bd Author: ihse Date: 2013-09-04 10:15 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/0f6dde6231bd 8024155: Fix 'make CONF= ' Reviewed-by: erikj, tbell ! NewMakefile.gmk ! common/makefiles/Main.gmk Changeset: 8e7b4d9fb00f Author: erikj Date: 2013-09-04 10:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/8e7b4d9fb00f Merge ! NewMakefile.gmk ! common/makefiles/Main.gmk Changeset: 58f1b6f32b47 Author: cl Date: 2013-09-05 02:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/58f1b6f32b47 Added tag jdk8-b106 for changeset 8e7b4d9fb00f ! .hgtags Changeset: 73355c4c1bc8 Author: lana Date: 2013-09-06 14:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/73355c4c1bc8 Merge From lana.steuck at oracle.com Fri Sep 6 17:11:00 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:11:00 +0000 Subject: hg: jdk8/tl/nashorn: 4 new changesets Message-ID: <20130907001105.D617E62622@hg.openjdk.java.net> Changeset: 824d33e678f2 Author: cl Date: 2013-08-29 09:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/824d33e678f2 Added tag jdk8-b105 for changeset f484bfb624dd ! .hgtags Changeset: bf70cbd2c836 Author: lana Date: 2013-08-29 16:34 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/bf70cbd2c836 Merge Changeset: f35e1255024b Author: cl Date: 2013-09-05 02:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/f35e1255024b Added tag jdk8-b106 for changeset bf70cbd2c836 ! .hgtags Changeset: 9e4acaa1bb7e Author: lana Date: 2013-09-06 14:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/9e4acaa1bb7e Merge From lana.steuck at oracle.com Fri Sep 6 17:10:52 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:10:52 +0000 Subject: hg: jdk8/tl/corba: 3 new changesets Message-ID: <20130907001055.A93A06261F@hg.openjdk.java.net> Changeset: 2e3a056c84a7 Author: cl Date: 2013-08-29 09:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/2e3a056c84a7 Added tag jdk8-b105 for changeset 4e38de7c767e ! .hgtags Changeset: 23fc34133152 Author: cl Date: 2013-09-05 02:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/23fc34133152 Added tag jdk8-b106 for changeset 2e3a056c84a7 ! .hgtags Changeset: 4853dc082c7d Author: lana Date: 2013-09-06 14:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/4853dc082c7d Merge From lana.steuck at oracle.com Fri Sep 6 17:10:56 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:10:56 +0000 Subject: hg: jdk8/tl/jaxp: 2 new changesets Message-ID: <20130907001105.3F75662621@hg.openjdk.java.net> Changeset: d3be8e3b429d Author: cl Date: 2013-08-29 09:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/d3be8e3b429d Added tag jdk8-b105 for changeset 09a46ec11f88 ! .hgtags Changeset: d6a32e3831aa Author: cl Date: 2013-09-05 02:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/d6a32e3831aa Added tag jdk8-b106 for changeset d3be8e3b429d ! .hgtags From lana.steuck at oracle.com Fri Sep 6 17:10:57 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:10:57 +0000 Subject: hg: jdk8/tl/jaxws: 3 new changesets Message-ID: <20130907001110.5846962623@hg.openjdk.java.net> Changeset: 01be6f93d0a4 Author: cl Date: 2013-08-29 09:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/01be6f93d0a4 Added tag jdk8-b105 for changeset 88390df7ed2c ! .hgtags Changeset: 6908370afe83 Author: lana Date: 2013-08-29 16:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/6908370afe83 Merge Changeset: e3c9328f7563 Author: cl Date: 2013-09-05 02:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/e3c9328f7563 Added tag jdk8-b106 for changeset 6908370afe83 ! .hgtags From lana.steuck at oracle.com Fri Sep 6 17:11:04 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:11:04 +0000 Subject: hg: jdk8/tl/langtools: 5 new changesets Message-ID: <20130907001122.B4D5962624@hg.openjdk.java.net> Changeset: e431c9bfb171 Author: cl Date: 2013-08-29 09:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/e431c9bfb171 Added tag jdk8-b105 for changeset 375834b5cf08 ! .hgtags Changeset: fcd768844b99 Author: lana Date: 2013-08-29 16:34 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/fcd768844b99 Merge - test/com/sun/javadoc/testNavagation/TestNavagation.java - test/com/sun/javadoc/testNavagation/pkg/A.java - test/com/sun/javadoc/testNavagation/pkg/C.java - test/com/sun/javadoc/testNavagation/pkg/E.java - test/com/sun/javadoc/testNavagation/pkg/I.java - test/tools/javac/8015701/AnonymousParameters.java Changeset: 3f274927ec18 Author: cl Date: 2013-09-05 02:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/3f274927ec18 Added tag jdk8-b106 for changeset fcd768844b99 ! .hgtags Changeset: c9d6f4749f87 Author: lana Date: 2013-09-06 14:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/c9d6f4749f87 Merge Changeset: e84587462a47 Author: lana Date: 2013-09-06 17:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/e84587462a47 Merge From lana.steuck at oracle.com Fri Sep 6 17:11:30 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:11:30 +0000 Subject: hg: jdk8/tl/hotspot: 70 new changesets Message-ID: <20130907001401.11CA962625@hg.openjdk.java.net> Changeset: 37165c3618a3 Author: amurillo Date: 2013-08-16 04:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/37165c3618a3 8023152: new hotspot build - hs25-b47 Reviewed-by: jcoomes ! make/hotspot_version Changeset: d96f52012aaa Author: rdurbin Date: 2013-08-14 15:12 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d96f52012aaa 8005073: [TESTBUG] remove crufty '_g' support from HS tests Summary: remove crufty '_g' support from HS tests Reviewed-by: dcubed, sla ! test/Makefile Changeset: 740e263c80c6 Author: hseigel Date: 2013-08-15 20:04 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/740e263c80c6 8003424: Enable Class Data Sharing for CompressedOops 8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops 8005933: The -Xshare:auto option is ignored for -server Summary: Move klass metaspace above the heap and support CDS with compressed klass ptrs. Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank ! src/cpu/sparc/vm/macroAssembler_sparc.cpp ! src/cpu/sparc/vm/macroAssembler_sparc.hpp ! src/cpu/sparc/vm/relocInfo_sparc.cpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/vtableStubs_sparc.cpp ! src/cpu/x86/vm/macroAssembler_x86.cpp ! src/cpu/x86/vm/macroAssembler_x86.hpp ! src/cpu/x86/vm/relocInfo_x86.cpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/vtableStubs_x86_64.cpp ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/memory/filemap.cpp ! src/share/vm/memory/filemap.hpp ! src/share/vm/memory/heap.cpp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspace.hpp ! src/share/vm/memory/metaspaceShared.cpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/oops/klass.hpp ! src/share/vm/oops/klass.inline.hpp ! src/share/vm/oops/oop.hpp ! src/share/vm/oops/oop.inline.hpp ! src/share/vm/oops/oopsHierarchy.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/init.cpp ! src/share/vm/utilities/globalDefinitions.hpp + test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java + test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrsError.java + test/runtime/CDSCompressedKPtrs/XShareAuto.java ! test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java Changeset: e5003079dfa5 Author: dcubed Date: 2013-08-16 10:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e5003079dfa5 Merge ! src/share/vm/utilities/globalDefinitions.hpp Changeset: b1fd869e7df0 Author: minqi Date: 2013-08-19 09:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b1fd869e7df0 8023188: Unsafe volatile double store on bsd is broken Reviewed-by: dcubed, dholmes Contributed-by: yumin.qi at oracle.com ! src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp Changeset: 1a8fb39bdbc4 Author: ehelin Date: 2013-08-07 16:47 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1a8fb39bdbc4 8014659: NPG: performance counters for compressed klass space Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi ! src/share/vm/gc_implementation/g1/g1MonitoringSupport.cpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspace.hpp ! src/share/vm/memory/metaspaceCounters.cpp ! src/share/vm/memory/metaspaceCounters.hpp ! src/share/vm/memory/universe.cpp + test/gc/metaspace/TestMetaspacePerfCounters.java + test/testlibrary/AssertsTest.java + test/testlibrary/com/oracle/java/testlibrary/Asserts.java + test/testlibrary/com/oracle/java/testlibrary/ByteCodeLoader.java + test/testlibrary/com/oracle/java/testlibrary/InMemoryJavaCompiler.java + test/testlibrary/com/oracle/java/testlibrary/InputArguments.java + test/testlibrary/com/oracle/java/testlibrary/PerfCounter.java + test/testlibrary/com/oracle/java/testlibrary/PerfCounters.java Changeset: 878bb0b7e799 Author: ehelin Date: 2013-08-19 17:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/878bb0b7e799 Merge Changeset: 10c59b8021ec Author: kevinw Date: 2013-08-19 14:28 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/10c59b8021ec 8022655: ClassDump ignored jarStream setting Reviewed-by: minqi, sla ! agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassDump.java ! test/compiler/ciReplay/common.sh Changeset: 9011aa6843ce Author: kevinw Date: 2013-08-19 22:28 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9011aa6843ce Merge Changeset: e22ee8e7ae62 Author: jiangli Date: 2013-08-19 14:59 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e22ee8e7ae62 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes. Summary: Change InstanceKlass::_source_file_name and _generic_signature to u2 fields. Reviewed-by: coleenp, iklam ! agent/src/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/classFileParser.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/prims/jvmtiRedefineClasses.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: aeebffb56606 Author: jiangli Date: 2013-08-20 00:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/aeebffb56606 Merge Changeset: 9d6c9b0a8f15 Author: dcubed Date: 2013-08-20 13:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9d6c9b0a8f15 8023287: HOTSPOT_BUILD_COMPILER needs to support "Sun Studio 12u3" Summary: Recognize 0x5120 as "Sun Studio 12u3". Reviewed-by: dholmes, coleenp ! src/share/vm/runtime/vm_version.cpp Changeset: afbe18ae0905 Author: bharadwaj Date: 2013-08-15 11:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/afbe18ae0905 8022441: Bad code generated for certain interpreted CRC intrinsics, 2 cases Summary: Corrected details Reviewed-by: kvn, twisti, rbackman Contributed-by: david.r.chase at oracle.com ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp Changeset: adb9a7d94cb5 Author: adlertz Date: 2013-08-16 10:23 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/adb9a7d94cb5 8023003: Cleanup the public interface to PhaseCFG Summary: public methods that don't need to be public should be private. Reviewed-by: kvn, twisti ! src/share/vm/opto/block.cpp ! src/share/vm/opto/block.hpp ! src/share/vm/opto/buildOopMap.cpp ! src/share/vm/opto/chaitin.cpp ! src/share/vm/opto/coalesce.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/domgraph.cpp ! src/share/vm/opto/gcm.cpp ! src/share/vm/opto/idealGraphPrinter.cpp ! src/share/vm/opto/ifg.cpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/live.cpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/opto/matcher.hpp ! src/share/vm/opto/output.cpp ! src/share/vm/opto/phaseX.cpp ! src/share/vm/opto/postaloc.cpp ! src/share/vm/opto/reg_split.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 6c72125a2f40 Author: iignatyev Date: 2013-08-16 17:34 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6c72125a2f40 8016456: ciReplay test assumes TIERED compilation is available Reviewed-by: vlivanov, kvn, dholmes ! test/compiler/ciReplay/common.sh Changeset: f99558245e5c Author: iignatyev Date: 2013-08-14 23:50 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f99558245e5c 8022832: Add WB APIs for OSR compilation Reviewed-by: kvn ! src/share/vm/oops/method.cpp ! src/share/vm/prims/whitebox.cpp ! src/share/vm/runtime/compilationPolicy.cpp ! src/share/vm/runtime/compilationPolicy.hpp ! test/compiler/whitebox/ClearMethodStateTest.java ! test/compiler/whitebox/CompilerWhiteBoxTest.java ! test/compiler/whitebox/DeoptimizeAllTest.java ! test/compiler/whitebox/DeoptimizeMethodTest.java ! test/compiler/whitebox/EnqueueMethodForCompilationTest.java ! test/compiler/whitebox/IsMethodCompilableTest.java ! test/compiler/whitebox/MakeMethodNotCompilableTest.java ! test/compiler/whitebox/SetDontInlineMethodTest.java ! test/compiler/whitebox/SetForceInlineMethodTest.java ! test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Changeset: d18b10b1fd09 Author: iignatyev Date: 2013-08-16 13:39 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d18b10b1fd09 Merge Changeset: 4b2838704fd5 Author: kvn Date: 2013-08-16 14:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4b2838704fd5 8021898: Broken JIT compiler optimization for loop unswitching Summary: fix method clone_projs() to clone all related MachProj nodes. Reviewed-by: roland, adlertz ! src/share/vm/opto/chaitin.cpp ! src/share/vm/opto/chaitin.hpp ! src/share/vm/opto/coalesce.cpp ! src/share/vm/opto/reg_split.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/utilities/vmError.cpp Changeset: 6725044c5725 Author: rbackman Date: 2013-08-19 09:33 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6725044c5725 Merge ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/share/vm/oops/method.cpp Changeset: e16282db4946 Author: twisti Date: 2013-08-20 10:57 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e16282db4946 8022956: Clang: enable return type warnings on BSD Reviewed-by: coleenp, sla ! make/bsd/makefiles/gcc.make ! src/cpu/zero/vm/assembler_zero.cpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/frame_zero.cpp ! src/cpu/zero/vm/frame_zero.inline.hpp ! src/cpu/zero/vm/icBuffer_zero.cpp ! src/cpu/zero/vm/interp_masm_zero.hpp ! src/cpu/zero/vm/interpreter_zero.cpp ! src/cpu/zero/vm/nativeInst_zero.hpp ! src/cpu/zero/vm/register_zero.cpp ! src/cpu/zero/vm/relocInfo_zero.cpp ! src/cpu/zero/vm/sharedRuntime_zero.cpp ! src/cpu/zero/vm/vtableStubs_zero.cpp ! src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp ! src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp ! src/os_cpu/bsd_zero/vm/thread_bsd_zero.hpp Changeset: acedd49a1bce Author: rbackman Date: 2013-08-08 03:16 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/acedd49a1bce 8022675: Redundant class init check Reviewed-by: kvn, twisti ! src/share/vm/opto/library_call.cpp Changeset: 4dece0730c50 Author: rbackman Date: 2013-08-22 18:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4dece0730c50 Merge ! src/share/vm/runtime/vmStructs.cpp ! test/compiler/ciReplay/common.sh Changeset: 5888334c9c24 Author: johnc Date: 2013-08-15 10:52 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5888334c9c24 7145569: G1: optimize nmethods scanning Summary: Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead. Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp ! src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1RemSet.hpp ! src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/memory/iterator.cpp ! src/share/vm/runtime/sweeper.hpp ! src/share/vm/utilities/growableArray.hpp Changeset: 8088d93a63e6 Author: brutisso Date: 2013-08-15 13:02 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8088d93a63e6 Merge Changeset: 9720d338b1d5 Author: brutisso Date: 2013-08-16 11:26 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9720d338b1d5 8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0 Reviewed-by: stefank, mgerdin ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Changeset: d0afbee540e0 Author: stefank Date: 2013-08-19 13:44 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d0afbee540e0 8023227: Enhance layout_helper_log2_element_size assert Reviewed-by: mgerdin, jmasa ! src/share/vm/oops/klass.hpp Changeset: 422920730903 Author: ehelin Date: 2013-08-19 18:17 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/422920730903 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace Reviewed-by: stefank, sjohanss ! src/share/vm/services/memoryPool.cpp Changeset: 57600c4aeabe Author: jmasa Date: 2013-08-19 08:58 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/57600c4aeabe Merge - src/os_cpu/bsd_x86/vm/bsd_x86_32.ad - src/os_cpu/bsd_x86/vm/bsd_x86_64.ad - src/os_cpu/linux_x86/vm/linux_x86_32.ad - src/os_cpu/linux_x86/vm/linux_x86_64.ad - src/os_cpu/solaris_sparc/vm/solaris_sparc.ad - src/os_cpu/solaris_x86/vm/solaris_x86_32.ad - src/os_cpu/solaris_x86/vm/solaris_x86_64.ad - src/os_cpu/windows_x86/vm/windows_x86_32.ad - src/os_cpu/windows_x86/vm/windows_x86_64.ad Changeset: 31f220c1f789 Author: jmasa Date: 2013-08-20 10:02 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/31f220c1f789 Merge Changeset: 61521bd65100 Author: tschatzl Date: 2013-08-21 10:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/61521bd65100 8022784: TaskQueue misses minimal documentation and references for analysis Summary: Add appropriate documentation and references to publication to allow easier analysis of the TaskQueue implementation. Reviewed-by: dholmes, ehelin ! src/share/vm/utilities/taskqueue.hpp Changeset: cb9da55b1990 Author: jmasa Date: 2013-08-14 19:52 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cb9da55b1990 8021809: Partitioning based on eden sampling during allocation not reset correctly Reviewed-by: ysr, hiroshi ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Changeset: b51aee2dd8bb Author: jmasa Date: 2013-08-22 11:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b51aee2dd8bb Merge ! src/share/vm/oops/klass.hpp Changeset: 8009adb44523 Author: jmasa Date: 2013-08-22 14:03 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8009adb44523 Merge Changeset: c1604d5885a6 Author: amurillo Date: 2013-08-23 03:01 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c1604d5885a6 Merge Changeset: acac3bde66b2 Author: amurillo Date: 2013-08-23 03:01 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/acac3bde66b2 Added tag hs25-b47 for changeset c1604d5885a6 ! .hgtags Changeset: b649cfa58604 Author: cl Date: 2013-08-29 09:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b649cfa58604 Added tag jdk8-b105 for changeset acac3bde66b2 ! .hgtags Changeset: 73921c720b94 Author: amurillo Date: 2013-08-23 03:14 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/73921c720b94 8023635: new hotspot build - hs25-b48 Reviewed-by: jcoomes ! make/hotspot_version Changeset: c6ec0a97b30a Author: sla Date: 2013-08-21 13:18 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c6ec0a97b30a 8022808: Kitchensink hangs on macos Summary: Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources Reviewed-by: dholmes, rbackman ! src/os/bsd/vm/os_bsd.cpp Changeset: 3a57fa7a4cd0 Author: hseigel Date: 2013-08-22 11:52 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3a57fa7a4cd0 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris 8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX Summary: Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX. Reviewed-by: coleenp, dholmes, mseledtsov, ccheung ! src/os/bsd/vm/os_bsd.cpp - test/runtime/7051189/Xchecksig.sh + test/runtime/XCheckJniJsig/XCheckJSig.java Changeset: e37ab280bbce Author: allwin Date: 2013-07-23 14:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e37ab280bbce 8011888: sa.js: TypeError: [object JSAdapter] has no such function "__has__" Reviewed-by: sla, sundar, kmo Contributed-by: yunda.mly at taobao.com ! agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js Changeset: 669d9a235486 Author: sla Date: 2013-08-22 14:56 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/669d9a235486 Merge Changeset: c062a6e1fa33 Author: iklam Date: 2013-08-22 10:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c062a6e1fa33 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1 Summary: Avoid dumping C++ vtable when BUILD_WIN_SA != 1 Reviewed-by: dcubed, sla, tbell ! make/windows/build_vm_def.sh ! make/windows/makefiles/debug.make ! make/windows/makefiles/fastdebug.make ! make/windows/makefiles/product.make ! make/windows/makefiles/projectcreator.make ! make/windows/makefiles/vm.make Changeset: 811aea34d5e7 Author: iklam Date: 2013-08-22 13:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/811aea34d5e7 Merge Changeset: ff2520b97b00 Author: jiangli Date: 2013-08-22 19:27 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ff2520b97b00 8023547: com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948 . Summary: Need to check if the constant pool mapping returns 0. Reviewed-by: coleenp, sspitsyn ! src/share/vm/prims/jvmtiRedefineClasses.cpp Changeset: 887db75613f8 Author: jiangli Date: 2013-08-22 17:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/887db75613f8 Merge Changeset: a70566600baf Author: poonam Date: 2013-08-21 22:12 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a70566600baf 8020530: Non heap memory size calculated incorrectly Reviewed-by: coleenp, sla Contributed-by: vladimir.kempik at oracle.com ! src/share/vm/services/management.cpp Changeset: 730210728146 Author: poonam Date: 2013-08-22 18:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/730210728146 Merge - test/runtime/7051189/Xchecksig.sh Changeset: 817e46dd5864 Author: poonam Date: 2013-08-22 21:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/817e46dd5864 Merge Changeset: 739c309fd729 Author: mgronlun Date: 2013-08-23 10:36 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/739c309fd729 8023457: Event based tracing framework needs a mutex for thread groups Reviewed-by: acorn, sla ! src/share/vm/runtime/mutexLocker.cpp ! src/share/vm/runtime/mutexLocker.hpp Changeset: cacc421f39d7 Author: dcubed Date: 2013-08-23 10:39 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cacc421f39d7 Merge - test/runtime/7051189/Xchecksig.sh Changeset: badf4244ceae Author: hseigel Date: 2013-08-25 21:21 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/badf4244ceae 8022183: GCC 4.6 change sdefault setting for omit-frame-pointer which breaks hotspot stack walking Summary: Explicitly specify -fno-omit-frame-pointer. Reviewed-by: coleenp, dholmes, dcubed ! make/linux/makefiles/amd64.make ! make/linux/makefiles/gcc.make Changeset: faf2631b9334 Author: dsimms Date: 2013-08-26 09:33 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/faf2631b9334 8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM Summary: Return NULL on OOM from GetStringChars, GetStringUTFChars and GetArrayElements family of functions. Reviewed-by: dholmes, coleenp ! src/share/vm/memory/allocation.hpp ! src/share/vm/prims/jni.cpp Changeset: 4c84d351cca9 Author: stefank Date: 2013-08-16 13:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4c84d351cca9 8007074: SIGSEGV at ParMarkBitMap::verify_clear() Summary: Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages. Reviewed-by: tschatzl, dcubed, brutisso ! src/os/bsd/vm/os_bsd.cpp ! src/os/linux/vm/globals_linux.hpp ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/memory/collectorPolicy.cpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/virtualspace.cpp ! src/share/vm/runtime/virtualspace.hpp ! src/share/vm/services/memTracker.hpp ! src/share/vm/utilities/globalDefinitions.hpp Changeset: 21ffbaa691b5 Author: stefank Date: 2013-08-26 07:01 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/21ffbaa691b5 Merge ! src/share/vm/prims/jni.cpp Changeset: 1bb10d3170fa Author: jmasa Date: 2013-08-16 06:12 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1bb10d3170fa 8022817: CMS should not shrink if compaction was not done Reviewed-by: ysr, mgerdin ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Changeset: f7d3b4387a16 Author: brutisso Date: 2013-08-21 22:35 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f7d3b4387a16 8022872: G1: Use correct GC cause for young GC triggered by humongous allocations Reviewed-by: tonyp, tschatzl ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Changeset: c31eb8c86a50 Author: brutisso Date: 2013-08-22 04:14 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c31eb8c86a50 Merge Changeset: ec145d04eda8 Author: jmasa Date: 2013-08-23 15:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ec145d04eda8 Merge Changeset: 1624a68007bd Author: jmasa Date: 2013-08-27 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1624a68007bd Merge ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Changeset: f92b82d454fa Author: bpittore Date: 2013-08-23 20:33 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f92b82d454fa 8014135: The JVMTI specification does not conform to recent changes in JNI specification Summary: Added support for statically linked agents Reviewed-by: sspitsyn, bobv, coleenp ! src/os/posix/vm/os_posix.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/prims/jvmti.xml ! src/share/vm/prims/jvmtiExport.cpp ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/thread.cpp Changeset: 5fd8e2fbafd4 Author: cjplummer Date: 2013-08-23 12:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5fd8e2fbafd4 8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported Summary: Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported. Reviewed-by: dholmes, coleenp ! src/share/vm/prims/whitebox.cpp ! test/runtime/NMT/ThreadedVirtualAllocTestType.java ! test/runtime/NMT/VirtualAllocTestType.java ! test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Changeset: 7aa0c1fb6fdb Author: dholmes Date: 2013-08-27 22:05 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7aa0c1fb6fdb 8006164: [TESTBUG] compact profile hotspot test issues Summary: Define profile-based test groups. Reviewed-by: dcubed, mchung ! test/TEST.ROOT + test/TEST.groups Changeset: 1fedf3c7f923 Author: bpittore Date: 2013-08-28 14:44 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1fedf3c7f923 8023580: Add jtreg test for 8004051 and 8005722 Summary: Tests checks an assertion dealing with the number of args passed in registers Reviewed-by: mseledtsov, kvn + test/compiler/8004051/Test8004051.java Changeset: b1fb293d92c4 Author: jiangli Date: 2013-08-28 12:01 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b1fb293d92c4 Merge Changeset: 2b113b65a051 Author: dholmes Date: 2013-08-28 19:25 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2b113b65a051 8023900: [TESTBUG] Initial compact profile test groups need adjusting Reviewed-by: dcubed, mchung, hseigel ! test/TEST.groups Changeset: 54dfd798deaf Author: dholmes Date: 2013-08-28 21:42 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/54dfd798deaf Merge Changeset: 62f527c674d2 Author: dholmes Date: 2013-08-29 00:22 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/62f527c674d2 Merge ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/os.hpp Changeset: 18b4798adbc4 Author: amurillo Date: 2013-08-30 00:19 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/18b4798adbc4 Merge - test/runtime/7051189/Xchecksig.sh Changeset: aed585cafc0d Author: amurillo Date: 2013-08-30 00:19 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/aed585cafc0d Added tag hs25-b48 for changeset 18b4798adbc4 ! .hgtags Changeset: 3f4392035ec7 Author: cl Date: 2013-09-05 02:45 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3f4392035ec7 Added tag jdk8-b106 for changeset aed585cafc0d ! .hgtags From lana.steuck at oracle.com Fri Sep 6 17:11:27 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 07 Sep 2013 00:11:27 +0000 Subject: hg: jdk8/tl/jdk: 6 new changesets Message-ID: <20130907001405.323CF62626@hg.openjdk.java.net> Changeset: 0417358184a1 Author: omajid Date: 2013-08-22 16:00 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0417358184a1 8023480: Create a jvm.cfg for zero on 32 bit architectures Reviewed-by: dholmes, erikj ! makefiles/CopyFiles.gmk Changeset: 1fe211ae3d2b Author: katleman Date: 2013-08-26 17:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1fe211ae3d2b Merge Changeset: 1a2a8d143583 Author: cl Date: 2013-08-29 09:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1a2a8d143583 Added tag jdk8-b105 for changeset 1fe211ae3d2b ! .hgtags Changeset: c817276bd870 Author: lana Date: 2013-08-29 16:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c817276bd870 Merge - src/share/classes/sun/misc/Compare.java - src/share/classes/sun/misc/Sort.java Changeset: aafc0f332658 Author: cl Date: 2013-09-05 02:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/aafc0f332658 Added tag jdk8-b106 for changeset c817276bd870 ! .hgtags Changeset: 257de3e3a278 Author: lana Date: 2013-09-06 14:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/257de3e3a278 Merge From xuelei.fan at oracle.com Sat Sep 7 17:06:45 2013 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Sun, 08 Sep 2013 00:06:45 +0000 Subject: hg: jdk8/tl/jdk: 7188657: There should be a way to reorder the JSSE ciphers Message-ID: <20130908000711.8577962660@hg.openjdk.java.net> Changeset: 0f47f9f622d9 Author: xuelei Date: 2013-09-07 17:05 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0f47f9f622d9 7188657: There should be a way to reorder the JSSE ciphers Reviewed-by: weijun, wetmore ! src/share/classes/javax/net/ssl/SSLParameters.java ! src/share/classes/sun/security/ssl/Handshaker.java ! src/share/classes/sun/security/ssl/SSLEngineImpl.java ! src/share/classes/sun/security/ssl/SSLServerSocketImpl.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java ! src/share/classes/sun/security/ssl/ServerHandshaker.java + test/sun/security/ssl/javax/net/ssl/SSLParameters/UseCipherSuitesOrder.java From vicente.romero at oracle.com Sun Sep 8 03:55:38 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Sun, 08 Sep 2013 10:55:38 +0000 Subject: hg: jdk8/tl/langtools: 8024398: javac, compiler crashes with try with empty body Message-ID: <20130908105552.66ADD62668@hg.openjdk.java.net> Changeset: 2de3750d65a5 Author: vromero Date: 2013-09-08 11:54 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/2de3750d65a5 8024398: javac, compiler crashes with try with empty body Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Lower.java + test/tools/javac/T8024398/NPETryTest.java From weijun.wang at oracle.com Sun Sep 8 20:07:32 2013 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Mon, 09 Sep 2013 03:07:32 +0000 Subject: hg: jdk8/tl/jdk: 8024046: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Message-ID: <20130909030758.71F4E62673@hg.openjdk.java.net> Changeset: 6bfabb71ae1e Author: weijun Date: 2013-09-09 11:08 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6bfabb71ae1e 8024046: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Reviewed-by: xuelei ! test/sun/security/krb5/runNameEquals.sh From daniel.fuchs at oracle.com Mon Sep 9 05:23:17 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Mon, 09 Sep 2013 12:23:17 +0000 Subject: hg: jdk8/tl/jdk: 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship; ... Message-ID: <20130909122409.BD02C6267B@hg.openjdk.java.net> Changeset: 4afdf10de648 Author: dfuchs Date: 2013-09-09 13:59 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4afdf10de648 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship 8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently 8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently Summary: This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures. Reviewed-by: mchung, martin, plevart ! src/share/classes/java/util/logging/LogManager.java ! src/share/classes/java/util/logging/Logger.java ! test/java/util/logging/Logger/getGlobal/TestGetGlobal.java ! test/java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java ! test/java/util/logging/Logger/getGlobal/policy ! test/java/util/logging/ParentLoggersTest.java ! test/java/util/logging/TestAppletLoggerContext.java From chris.hegarty at oracle.com Mon Sep 9 05:45:17 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Mon, 09 Sep 2013 12:45:17 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130909124541.538C16267D@hg.openjdk.java.net> Changeset: 02064634bc88 Author: msheppar Date: 2013-09-06 15:00 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/02064634bc88 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally Summary: amended test to be more robust to set of potential exceptions thrown Reviewed-by: chegar, khazra ! test/java/net/CookieHandler/LocalHostCookie.java Changeset: 4fd7abaf0a5f Author: msheppar Date: 2013-09-09 13:44 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4fd7abaf0a5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address Summary: amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex Reviewed-by: chegar, dsamersoff ! src/windows/native/java/net/NetworkInterface_winXP.c + test/java/net/NetworkInterface/UniqueMacAddressesTest.java From vicente.romero at oracle.com Mon Sep 9 08:32:43 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Mon, 09 Sep 2013 15:32:43 +0000 Subject: hg: jdk8/tl/langtools: 8024154: Fix for 8016177: structural most specific and stuckness breaks 6 langtools tests Message-ID: <20130909153246.7040062685@hg.openjdk.java.net> Changeset: a4b9a8859e58 Author: vromero Date: 2013-09-09 16:32 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/a4b9a8859e58 8024154: Fix for 8016177: structural most specific and stuckness breaks 6 langtools tests Reviewed-by: jjg, jfranck ! test/tools/javac/lambda/MethodReference41.java ! test/tools/javac/lambda/MethodReference41.out ! test/tools/javac/lambda/MethodReference42.java ! test/tools/javac/lambda/MethodReference42.out ! test/tools/javac/lambda/MethodReference43.java ! test/tools/javac/lambda/MethodReference43.out ! test/tools/javac/lambda/MethodReference44.java ! test/tools/javac/lambda/MethodReference44.out ! test/tools/javac/lambda/MethodReference46.java ! test/tools/javac/lambda/MethodReference46.out ! test/tools/javac/lambda/MethodReference48.java ! test/tools/javac/lambda/MethodReference48.out From stuart.marks at oracle.com Mon Sep 9 15:29:50 2013 From: stuart.marks at oracle.com (stuart.marks at oracle.com) Date: Mon, 09 Sep 2013 22:29:50 +0000 Subject: hg: jdk8/tl/jdk: 8023447: change specification to allow RMI activation to be optional Message-ID: <20130909223015.4CD136269F@hg.openjdk.java.net> Changeset: 6731ea9123f2 Author: smarks Date: 2013-09-09 14:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6731ea9123f2 8023447: change specification to allow RMI activation to be optional Reviewed-by: darcy, alanb, olagneau ! src/share/classes/java/rmi/activation/Activatable.java ! src/share/classes/java/rmi/activation/ActivationDesc.java ! src/share/classes/java/rmi/activation/ActivationGroup.java ! src/share/classes/java/rmi/activation/ActivationGroupID.java ! src/share/classes/java/rmi/activation/ActivationID.java ! src/share/classes/java/rmi/activation/package.html From jonathan.gibbons at oracle.com Mon Sep 9 17:44:09 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 10 Sep 2013 00:44:09 +0000 Subject: hg: jdk8/tl/langtools: 8019521: Enhanced rethrow disabled in lambdas Message-ID: <20130910004412.7EC8C626A6@hg.openjdk.java.net> Changeset: 77d395862700 Author: jlahoda Date: 2013-09-09 23:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/77d395862700 8019521: Enhanced rethrow disabled in lambdas Summary: Fixing effectively final detection inside lambdas, small cleanup related to thrown types detection in lambdas Reviewed-by: mcimadamore, jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/tree/JCTree.java + test/tools/javac/lambda/EffectivelyFinalThrows.java From jonathan.gibbons at oracle.com Mon Sep 9 17:37:03 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 10 Sep 2013 00:37:03 +0000 Subject: hg: jdk8/tl/langtools: 8006972: jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java Message-ID: <20130910003707.22141626A2@hg.openjdk.java.net> Changeset: 7439356a7dc5 Author: jjg Date: 2013-09-09 17:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/7439356a7dc5 8006972: jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java Reviewed-by: darcy ! test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java ! test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.ref From xuelei.fan at oracle.com Mon Sep 9 19:08:04 2013 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Tue, 10 Sep 2013 02:08:04 +0000 Subject: hg: jdk8/tl/jdk: 8024444: Change to use othervm mode of tests in SSLEngineImpl Message-ID: <20130910020831.9BF82626AA@hg.openjdk.java.net> Changeset: f80b8af9c218 Author: xuelei Date: 2013-09-09 19:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f80b8af9c218 8024444: Change to use othervm mode of tests in SSLEngineImpl Reviewed-by: mullan ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/CloseEngineException.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/CloseInboundException.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/CloseStart.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/DelegatedTaskWrongException.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/EmptyExtensionData.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/EngineEnforceUseClientMode.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/RehandshakeFinished.java From chris.hegarty at oracle.com Tue Sep 10 02:09:18 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Tue, 10 Sep 2013 10:09:18 +0100 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp Message-ID: <522EE1BE.3020203@oracle.com> Trivial doclint issues in the com.sun.nio.sctp public package. diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/Association.java --- a/src/share/classes/com/sun/nio/sctp/Association.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/Association.java Tue Sep 10 10:08:09 2013 +0100 @@ -58,6 +58,13 @@ public class Association { /** * Initializes a new instance of this class. + * + * @param associationID + * The association ID + * @param maxInStreams + * The maximum number of inbound streams + * @param maxOutStreams + * The maximum number of outbound streams */ protected Association(int associationID, int maxInStreams, diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java --- a/src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java Tue Sep 10 10:08:09 2013 +0100 @@ -41,6 +41,9 @@ public class IllegalReceiveException ext /** * Constructs an instance of this class with the specified message. + * + * @param msg + * The String that contains a detailed message */ public IllegalReceiveException(String msg) { super(msg); diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java --- a/src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java Tue Sep 10 10:08:09 2013 +0100 @@ -41,6 +41,9 @@ public class IllegalUnbindException exte /** * Constructs an instance of this class with the specified detailed message. + * + * @param msg + * The String that contains a detailed message */ public IllegalUnbindException(String msg) { super(msg); diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/InvalidStreamException.java --- a/src/share/classes/com/sun/nio/sctp/InvalidStreamException.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/InvalidStreamException.java Tue Sep 10 10:08:09 2013 +0100 @@ -40,6 +40,9 @@ public class InvalidStreamException exte /** * Constructs an instance of this class with the specified detailed message. + * + * @param msg + * The String that contains a detailed message */ public InvalidStreamException(String msg) { super(msg); diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/MessageInfo.java --- a/src/share/classes/com/sun/nio/sctp/MessageInfo.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/MessageInfo.java Tue Sep 10 10:08:09 2013 +0100 @@ -48,7 +48,7 @@ import java.net.SocketAddress; * longer required to be sent after the time period expires. It is not a hard * timeout and may be influenced by whether the association supports the partial * reliability extension, RFC 3758 - * + * . * *

{@code MessageInfo} instances are not safe for use by multiple concurrent * threads. If a MessageInfo is to be used by more than one thread then access diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/Notification.java --- a/src/share/classes/com/sun/nio/sctp/Notification.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/Notification.java Tue Sep 10 10:08:09 2013 +0100 @@ -40,6 +40,8 @@ public interface Notification { public interface Notification { /** * Returns the association that this notification is applicable to. + * + * @return The association */ public Association association(); } diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/SctpChannel.java --- a/src/share/classes/com/sun/nio/sctp/SctpChannel.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/SctpChannel.java Tue Sep 10 10:08:09 2013 +0100 @@ -59,7 +59,7 @@ import java.nio.channels.SelectionKey; * {@link #setOption(SctpSocketOption,Object) setOption} method. An SCTP * channel support the following options: *

- * + *
* * * @@ -636,6 +636,9 @@ public abstract class SctpChannel /** * Returns the value of a socket option. * + * @param + * The type of the socket option value + * * @param name * The socket option * @@ -658,6 +661,9 @@ public abstract class SctpChannel /** * Sets the value of a socket option. + * + * @param + * The type of the socket option value * * @param name * The socket option @@ -752,6 +758,9 @@ public abstract class SctpChannel * the {@code receive} method of this channel, if it does an * {@link IllegalReceiveException} will be thrown. * + * @param + * The type of the attachment + * * @param dst * The buffer into which message bytes are to be transferred * @@ -831,7 +840,7 @@ public abstract class SctpChannel * there was insufficient room for the message in the underlying * output buffer * - * @throws InvalidStreamExcepton + * @throws InvalidStreamException * If {@code streamNumner} is negative or greater than or equal to * the maximum number of outgoing streams * diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java --- a/src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java Tue Sep 10 10:08:09 2013 +0100 @@ -63,7 +63,7 @@ import java.nio.channels.SelectionKey; * {@link #setOption(SctpSocketOption,Object,Association) setOption} method. An * {@code SctpMultiChannel} supports the following options: *
- *
Option NameDescription
+ *
* * * @@ -394,6 +394,9 @@ public abstract class SctpMultiChannel * Returns all of the remote addresses to which the given association on * this channel's socket is connected. * + * @param association + * The association + * * @return All of the remote addresses for the given association, or * an empty {@code Set} if the association has been shutdown * @@ -431,6 +434,9 @@ public abstract class SctpMultiChannel * ignored if given. However, if the option is association specific then the * association must be given. * + * @param + * The type of the socket option value + * * @param name * The socket option * @@ -463,6 +469,9 @@ public abstract class SctpMultiChannel * therefore the {@code association} parameter is not applicable and will be * ignored if given. However, if the option is association specific then the * association must be given. + * + * @param + * The type of the socket option value * * @param name * The socket option @@ -566,6 +575,9 @@ public abstract class SctpMultiChannel * will not stall other threads from receiving. A handler should not invoke * the {@code receive} method of this channel, if it does an * {@link IllegalReceiveException} will be thrown. + * + * @param + * The type of the attachment * * @param buffer * The buffer into which bytes are to be transferred @@ -673,7 +685,7 @@ public abstract class SctpMultiChannel * there was insufficient room for the message in the underlying * output buffer * - * @throws InvalidStreamExcepton + * @throws InvalidStreamException * If {@code streamNumber} is negative, or if an association already * exists and {@code streamNumber} is greater than the maximum number * of outgoing streams diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/SctpServerChannel.java --- a/src/share/classes/com/sun/nio/sctp/SctpServerChannel.java Mon Sep 09 13:44:30 2013 +0100 +++ b/src/share/classes/com/sun/nio/sctp/SctpServerChannel.java Tue Sep 10 10:08:09 2013 +0100 @@ -47,7 +47,7 @@ import java.nio.channels.spi.AbstractSel * {@link #setOption(SctpSocketOption,Object) setOption} method. SCTP server socket * channels support the following options: *
- *
Option NameDescription
+ *
* * * @@ -345,6 +345,9 @@ public abstract class SctpServerChannel /** * Returns the value of a socket option. * + * @param + * The type of the socket option value + * * @param name * The socket option * @@ -366,6 +369,9 @@ public abstract class SctpServerChannel /** * Sets the value of a socket option. + * + * @param + * The type of the socket option value * * @param name * The socket option -Chris. From Alan.Bateman at oracle.com Tue Sep 10 02:21:09 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Tue, 10 Sep 2013 10:21:09 +0100 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp In-Reply-To: <522EE1BE.3020203@oracle.com> References: <522EE1BE.3020203@oracle.com> Message-ID: <522EE485.4010100@oracle.com> On 10/09/2013 10:09, Chris Hegarty wrote: > Trivial doclint issues in the com.sun.nio.sctp public package. > Looks okay to me. I'd suggest checking the bug database as there are existing bugs for this same issue. -Alan From rieberandreas at gmail.com Tue Sep 10 02:27:08 2013 From: rieberandreas at gmail.com (Andreas Rieber) Date: Tue, 10 Sep 2013 11:27:08 +0200 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp In-Reply-To: <522EE1BE.3020203@oracle.com> References: <522EE1BE.3020203@oracle.com> Message-ID: <522EE5EC.9020603@gmail.com> Minor hint, the copyright header year update is missing. Andreas On 10.09.2013 11:09, Chris Hegarty wrote: > Trivial doclint issues in the com.sun.nio.sctp public package. > > diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/Association.java > --- a/src/share/classes/com/sun/nio/sctp/Association.java Mon Sep 09 > 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/Association.java Tue Sep 10 > 10:08:09 2013 +0100 > @@ -58,6 +58,13 @@ public class Association { > > /** > * Initializes a new instance of this class. > + * > + * @param associationID > + * The association ID > + * @param maxInStreams > + * The maximum number of inbound streams > + * @param maxOutStreams > + * The maximum number of outbound streams > */ > protected Association(int associationID, > int maxInStreams, > diff -r 4fd7abaf0a5f > src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java > --- a/src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java > Mon Sep 09 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java > Tue Sep 10 10:08:09 2013 +0100 > @@ -41,6 +41,9 @@ public class IllegalReceiveException ext > > /** > * Constructs an instance of this class with the specified message. > + * > + * @param msg > + * The String that contains a detailed message > */ > public IllegalReceiveException(String msg) { > super(msg); > diff -r 4fd7abaf0a5f > src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java > --- a/src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java > Mon Sep 09 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java > Tue Sep 10 10:08:09 2013 +0100 > @@ -41,6 +41,9 @@ public class IllegalUnbindException exte > > /** > * Constructs an instance of this class with the specified > detailed message. > + * > + * @param msg > + * The String that contains a detailed message > */ > public IllegalUnbindException(String msg) { > super(msg); > diff -r 4fd7abaf0a5f > src/share/classes/com/sun/nio/sctp/InvalidStreamException.java > --- a/src/share/classes/com/sun/nio/sctp/InvalidStreamException.java > Mon Sep 09 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/InvalidStreamException.java > Tue Sep 10 10:08:09 2013 +0100 > @@ -40,6 +40,9 @@ public class InvalidStreamException exte > > /** > * Constructs an instance of this class with the specified > detailed message. > + * > + * @param msg > + * The String that contains a detailed message > */ > public InvalidStreamException(String msg) { > super(msg); > diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/MessageInfo.java > --- a/src/share/classes/com/sun/nio/sctp/MessageInfo.java Mon Sep 09 > 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/MessageInfo.java Tue Sep 10 > 10:08:09 2013 +0100 > @@ -48,7 +48,7 @@ import java.net.SocketAddress; > * longer required to be sent after the time period expires. It is > not a hard > * timeout and may be influenced by whether the association supports > the partial > * reliability extension, href=http://www.ietf.org/rfc/rfc3758.txt>RFC 3758 > - * > + * . > * > *

{@code MessageInfo} instances are not safe for use by multiple > concurrent > * threads. If a MessageInfo is to be used by more than one thread > then access > diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/Notification.java > --- a/src/share/classes/com/sun/nio/sctp/Notification.java Mon Sep 09 > 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/Notification.java Tue Sep 10 > 10:08:09 2013 +0100 > @@ -40,6 +40,8 @@ public interface Notification { > public interface Notification { > /** > * Returns the association that this notification is applicable to. > + * > + * @return The association > */ > public Association association(); > } > diff -r 4fd7abaf0a5f src/share/classes/com/sun/nio/sctp/SctpChannel.java > --- a/src/share/classes/com/sun/nio/sctp/SctpChannel.java Mon Sep 09 > 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/SctpChannel.java Tue Sep 10 > 10:08:09 2013 +0100 > @@ -59,7 +59,7 @@ import java.nio.channels.SelectionKey; > * {@link #setOption(SctpSocketOption,Object) setOption} method. An SCTP > * channel support the following options: > *

> - *
Option NameDescription
> + *
> * > * > * > @@ -636,6 +636,9 @@ public abstract class SctpChannel > /** > * Returns the value of a socket option. > * > + * @param > + * The type of the socket option value > + * > * @param name > * The socket option > * > @@ -658,6 +661,9 @@ public abstract class SctpChannel > > /** > * Sets the value of a socket option. > + * > + * @param > + * The type of the socket option value > * > * @param name > * The socket option > @@ -752,6 +758,9 @@ public abstract class SctpChannel > * the {@code receive} method of this channel, if it does an > * {@link IllegalReceiveException} will be thrown. > * > + * @param > + * The type of the attachment > + * > * @param dst > * The buffer into which message bytes are to be transferred > * > @@ -831,7 +840,7 @@ public abstract class SctpChannel > * there was insufficient room for the message in the > underlying > * output buffer > * > - * @throws InvalidStreamExcepton > + * @throws InvalidStreamException > * If {@code streamNumner} is negative or greater than > or equal to > * the maximum number of outgoing streams > * > diff -r 4fd7abaf0a5f > src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java > --- a/src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java Mon Sep > 09 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java Tue Sep > 10 10:08:09 2013 +0100 > @@ -63,7 +63,7 @@ import java.nio.channels.SelectionKey; > * {@link #setOption(SctpSocketOption,Object,Association) setOption} > method. An > * {@code SctpMultiChannel} supports the following options: > *
> - *
Option NameDescription
> + *
> * > * > * > @@ -394,6 +394,9 @@ public abstract class SctpMultiChannel > * Returns all of the remote addresses to which the given > association on > * this channel's socket is connected. > * > + * @param association > + * The association > + * > * @return All of the remote addresses for the given > association, or > * an empty {@code Set} if the association has been > shutdown > * > @@ -431,6 +434,9 @@ public abstract class SctpMultiChannel > * ignored if given. However, if the option is association > specific then the > * association must be given. > * > + * @param > + * The type of the socket option value > + * > * @param name > * The socket option > * > @@ -463,6 +469,9 @@ public abstract class SctpMultiChannel > * therefore the {@code association} parameter is not applicable > and will be > * ignored if given. However, if the option is association > specific then the > * association must be given. > + * > + * @param > + * The type of the socket option value > * > * @param name > * The socket option > @@ -566,6 +575,9 @@ public abstract class SctpMultiChannel > * will not stall other threads from receiving. A handler should > not invoke > * the {@code receive} method of this channel, if it does an > * {@link IllegalReceiveException} will be thrown. > + * > + * @param > + * The type of the attachment > * > * @param buffer > * The buffer into which bytes are to be transferred > @@ -673,7 +685,7 @@ public abstract class SctpMultiChannel > * there was insufficient room for the message in the > underlying > * output buffer > * > - * @throws InvalidStreamExcepton > + * @throws InvalidStreamException > * If {@code streamNumber} is negative, or if an > association already > * exists and {@code streamNumber} is greater than the > maximum number > * of outgoing streams > diff -r 4fd7abaf0a5f > src/share/classes/com/sun/nio/sctp/SctpServerChannel.java > --- a/src/share/classes/com/sun/nio/sctp/SctpServerChannel.java Mon > Sep 09 13:44:30 2013 +0100 > +++ b/src/share/classes/com/sun/nio/sctp/SctpServerChannel.java Tue > Sep 10 10:08:09 2013 +0100 > @@ -47,7 +47,7 @@ import java.nio.channels.spi.AbstractSel > * {@link #setOption(SctpSocketOption,Object) setOption} method. SCTP > server socket > * channels support the following options: > *
> - *
Option NameDescription
> + *
> * > * > * > @@ -345,6 +345,9 @@ public abstract class SctpServerChannel > /** > * Returns the value of a socket option. > * > + * @param > + * The type of the socket option value > + * > * @param name > * The socket option > * > @@ -366,6 +369,9 @@ public abstract class SctpServerChannel > > /** > * Sets the value of a socket option. > + * > + * @param > + * The type of the socket option value > * > * @param name > * The socket option > > > -Chris. From Alan.Bateman at oracle.com Tue Sep 10 02:36:48 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Tue, 10 Sep 2013 10:36:48 +0100 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp In-Reply-To: <522EE5EC.9020603@gmail.com> References: <522EE1BE.3020203@oracle.com> <522EE5EC.9020603@gmail.com> Message-ID: <522EE830.2010706@oracle.com> On 10/09/2013 10:27, Andreas Rieber wrote: > Minor hint, the copyright header year update is missing. > > Andreas We're not strictly required to do that each time, it's a confusing point that comes up regularly (with the result that we are inconsistent). There's a script checked into the top-level repo that can be used to do bulk updates. I don't know how often it is run, hopefully at least once a year. -Alan From rieberandreas at gmail.com Tue Sep 10 02:44:09 2013 From: rieberandreas at gmail.com (Andreas Rieber) Date: Tue, 10 Sep 2013 11:44:09 +0200 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp In-Reply-To: <522EE830.2010706@oracle.com> References: <522EE1BE.3020203@oracle.com> <522EE5EC.9020603@gmail.com> <522EE830.2010706@oracle.com> Message-ID: <522EE9E9.6020403@gmail.com> On 10.09.2013 11:36, Alan Bateman wrote: > On 10/09/2013 10:27, Andreas Rieber wrote: >> Minor hint, the copyright header year update is missing. >> >> Andreas > We're not strictly required to do that each time, it's a confusing > point that comes up regularly (with the result that we are > inconsistent). There's a script checked into the top-level repo that > can be used to do bulk updates. I don't know how often it is run, > hopefully at least once a year. > > -Alan OK, thanks for the info. Just most of the time i see that the year gets also updated with changes if not done already. Andreas From chris.hegarty at oracle.com Tue Sep 10 02:47:23 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Tue, 10 Sep 2013 10:47:23 +0100 Subject: RFR: 8024508 Fix doclint issues in com.sun.nio.sctp In-Reply-To: <522EE9E9.6020403@gmail.com> References: <522EE1BE.3020203@oracle.com> <522EE5EC.9020603@gmail.com> <522EE830.2010706@oracle.com> <522EE9E9.6020403@gmail.com> Message-ID: <522EEAAB.8050700@oracle.com> As a point of process, and since the copyright year range update is not strictly required, I typically leave it out of individual "bug" fixes. I have seen too many times where it has caused unnecessary conflicts when sync'ing or backporting. -Chris. On 09/10/2013 10:44 AM, Andreas Rieber wrote: > On 10.09.2013 11:36, Alan Bateman wrote: >> On 10/09/2013 10:27, Andreas Rieber wrote: >>> Minor hint, the copyright header year update is missing. >>> >>> Andreas >> We're not strictly required to do that each time, it's a confusing >> point that comes up regularly (with the result that we are >> inconsistent). There's a script checked into the top-level repo that >> can be used to do bulk updates. I don't know how often it is run, >> hopefully at least once a year. >> >> -Alan > OK, thanks for the info. Just most of the time i see that the year gets > also updated with changes if not done already. > > Andreas > From alan.bateman at oracle.com Tue Sep 10 02:46:21 2013 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Tue, 10 Sep 2013 09:46:21 +0000 Subject: hg: jdk8/tl/jdk: 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently Message-ID: <20130910094719.96C3E626B3@hg.openjdk.java.net> Changeset: 909aced59bef Author: alanb Date: 2013-09-10 10:42 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/909aced59bef 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently Reviewed-by: alanb Contributed-by: yiming.wang at oracle.com ! test/java/nio/file/WatchService/SensitivityModifier.java From vicente.romero at oracle.com Tue Sep 10 08:58:48 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Tue, 10 Sep 2013 15:58:48 +0000 Subject: hg: jdk8/tl/langtools: 8024414: javac, should facilitate the use of the bootstrap compiler for debugging Message-ID: <20130910155851.CE352626C5@hg.openjdk.java.net> Changeset: d87f017ec217 Author: mcimadamore Date: 2013-09-10 16:47 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/d87f017ec217 8024414: javac, should facilitate the use of the bootstrap compiler for debugging Reviewed-by: jjg ! make/netbeans/langtools/build.xml ! make/tools/anttasks/SelectToolTask.java From xuelei.fan at oracle.com Tue Sep 10 21:44:45 2013 From: xuelei.fan at oracle.com (xuelei.fan at oracle.com) Date: Wed, 11 Sep 2013 04:44:45 +0000 Subject: hg: jdk8/tl/jdk: 8024501: sun.security.mscapi.Key has no definition of serialVersionUID Message-ID: <20130911044514.DF6A6626E9@hg.openjdk.java.net> Changeset: c9083205e6eb Author: xuelei Date: 2013-09-10 21:31 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c9083205e6eb 8024501: sun.security.mscapi.Key has no definition of serialVersionUID Reviewed-by: weijun ! src/windows/classes/sun/security/mscapi/Key.java From masayoshi.okutsu at oracle.com Tue Sep 10 23:30:34 2013 From: masayoshi.okutsu at oracle.com (masayoshi.okutsu at oracle.com) Date: Wed, 11 Sep 2013 06:30:34 +0000 Subject: hg: jdk8/tl/jdk: 8024141: Unexpected timezone display name Message-ID: <20130911063111.3DFBC626EE@hg.openjdk.java.net> Changeset: 13ee370ee8b3 Author: okutsu Date: 2013-09-11 15:29 +0900 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/13ee370ee8b3 8024141: Unexpected timezone display name Reviewed-by: peytoia ! src/share/classes/sun/util/locale/provider/LocaleResources.java + test/sun/util/locale/provider/Bug8024141.java From chris.hegarty at oracle.com Wed Sep 11 03:05:06 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Wed, 11 Sep 2013 10:05:06 +0000 Subject: hg: jdk8/tl/jdk: 8024508: Fix doclint issues in com.sun.nio.sctp Message-ID: <20130911100541.0C8DA626F7@hg.openjdk.java.net> Changeset: 517c5e99fb2f Author: chegar Date: 2013-09-11 11:03 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/517c5e99fb2f 8024508: Fix doclint issues in com.sun.nio.sctp Reviewed-by: alanb ! src/share/classes/com/sun/nio/sctp/Association.java ! src/share/classes/com/sun/nio/sctp/IllegalReceiveException.java ! src/share/classes/com/sun/nio/sctp/IllegalUnbindException.java ! src/share/classes/com/sun/nio/sctp/InvalidStreamException.java ! src/share/classes/com/sun/nio/sctp/MessageInfo.java ! src/share/classes/com/sun/nio/sctp/Notification.java ! src/share/classes/com/sun/nio/sctp/SctpChannel.java ! src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java ! src/share/classes/com/sun/nio/sctp/SctpServerChannel.java From chris.hegarty at oracle.com Wed Sep 11 03:33:20 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Wed, 11 Sep 2013 10:33:20 +0000 Subject: hg: jdk8/tl/jdk: 8023090: Additional debug info for java/net/NetworkInterface/Equals.java Message-ID: <20130911103406.0A0C7626FB@hg.openjdk.java.net> Changeset: d389dedd1ccb Author: chegar Date: 2013-09-11 11:32 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d389dedd1ccb 8023090: Additional debug info for java/net/NetworkInterface/Equals.java Reviewed-by: alanb ! test/java/net/NetworkInterface/Equals.java From naoto.sato at oracle.com Wed Sep 11 05:40:34 2013 From: naoto.sato at oracle.com (naoto.sato at oracle.com) Date: Wed, 11 Sep 2013 12:40:34 +0000 Subject: hg: jdk8/tl/jdk: 8024332: sun/util/resources/en split between rt.jar and localedata.jar Message-ID: <20130911124112.88013626FE@hg.openjdk.java.net> Changeset: 7bfe3da4fad6 Author: naoto Date: 2013-09-11 05:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7bfe3da4fad6 8024332: sun/util/resources/en split between rt.jar and localedata.jar Reviewed-by: alanb, erikj ! make/java/java/genlocales.gmk ! make/java/java/localegen.sh ! make/java/text/base/FILES_java.gmk ! make/java/util/FILES_java.gmk ! make/java/util/FILES_properties.gmk ! make/sun/text/FILES_java.gmk ! make/sun/text/FILES_properties.gmk ! makefiles/CreateJars.gmk ! makefiles/GensrcLocaleDataMetaInfo.gmk ! src/share/classes/sun/util/locale/provider/JRELocaleProviderAdapter.java ! src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template From michael.x.mcmahon at oracle.com Wed Sep 11 06:45:04 2013 From: michael.x.mcmahon at oracle.com (Michael McMahon) Date: Wed, 11 Sep 2013 14:45:04 +0100 Subject: RFR: 8024601: Windows networking code prevents use of -Xlint:auxiliaryclass in jdk build Message-ID: <523073E0.8080905@oracle.com> Trivial change to allow use of the -Xlint:auxiliaryclass build flag in the windows networking code. The InetAddressContainer class needs to be put in its own source file http://cr.openjdk.java.net/~michaelm/8024601/webrev.1/ Thank Michael From chris.hegarty at oracle.com Wed Sep 11 06:49:57 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Wed, 11 Sep 2013 14:49:57 +0100 Subject: RFR: 8024601: Windows networking code prevents use of -Xlint:auxiliaryclass in jdk build In-Reply-To: <523073E0.8080905@oracle.com> References: <523073E0.8080905@oracle.com> Message-ID: <52307505.8010703@oracle.com> Looks fine to me Michael. -Chris. On 11/09/2013 14:45, Michael McMahon wrote: > Trivial change to allow use of the -Xlint:auxiliaryclass build flag > in the windows networking code. > > The InetAddressContainer class needs to be put in its own source file > > http://cr.openjdk.java.net/~michaelm/8024601/webrev.1/ > > Thank > Michael > From michael.x.mcmahon at oracle.com Wed Sep 11 07:03:41 2013 From: michael.x.mcmahon at oracle.com (michael.x.mcmahon at oracle.com) Date: Wed, 11 Sep 2013 14:03:41 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130911140529.8038862703@hg.openjdk.java.net> Changeset: 1ec241501e60 Author: michaelm Date: 2013-09-11 15:00 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1ec241501e60 8024601: Windows networking code prevents use of -Xlint:auxiliaryclass in jdk build Reviewed-by: chegar ! src/share/classes/java/net/AbstractPlainSocketImpl.java + src/share/classes/java/net/InetAddressContainer.java Changeset: 7dcb9d944910 Author: michaelm Date: 2013-09-11 15:02 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7dcb9d944910 Merge From roger.riggs at oracle.com Wed Sep 11 07:41:31 2013 From: roger.riggs at oracle.com (roger.riggs at oracle.com) Date: Wed, 11 Sep 2013 14:41:31 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130911144215.1F3506270D@hg.openjdk.java.net> Changeset: 292d93f32aa1 Author: rriggs Date: 2013-09-11 10:16 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/292d93f32aa1 8024164: JSR310 serialization should be described in details Summary: The serialized-form.html should specify the stream format for interoperability Reviewed-by: alanb ! src/share/classes/java/time/Duration.java ! src/share/classes/java/time/Instant.java ! src/share/classes/java/time/LocalDate.java ! src/share/classes/java/time/LocalDateTime.java ! src/share/classes/java/time/LocalTime.java ! src/share/classes/java/time/MonthDay.java ! src/share/classes/java/time/OffsetDateTime.java ! src/share/classes/java/time/OffsetTime.java ! src/share/classes/java/time/Period.java ! src/share/classes/java/time/Ser.java ! src/share/classes/java/time/Year.java ! src/share/classes/java/time/YearMonth.java ! src/share/classes/java/time/ZoneId.java ! src/share/classes/java/time/ZoneOffset.java ! src/share/classes/java/time/ZoneRegion.java ! src/share/classes/java/time/ZonedDateTime.java ! src/share/classes/java/time/chrono/ChronoLocalDateTimeImpl.java ! src/share/classes/java/time/chrono/ChronoZonedDateTimeImpl.java ! src/share/classes/java/time/chrono/Chronology.java ! src/share/classes/java/time/chrono/HijrahChronology.java ! src/share/classes/java/time/chrono/HijrahDate.java ! src/share/classes/java/time/chrono/HijrahEra.java ! src/share/classes/java/time/chrono/IsoChronology.java ! src/share/classes/java/time/chrono/JapaneseChronology.java ! src/share/classes/java/time/chrono/JapaneseDate.java ! src/share/classes/java/time/chrono/JapaneseEra.java ! src/share/classes/java/time/chrono/MinguoChronology.java ! src/share/classes/java/time/chrono/MinguoDate.java ! src/share/classes/java/time/chrono/MinguoEra.java ! src/share/classes/java/time/chrono/Ser.java ! src/share/classes/java/time/chrono/ThaiBuddhistChronology.java ! src/share/classes/java/time/chrono/ThaiBuddhistDate.java ! src/share/classes/java/time/chrono/ThaiBuddhistEra.java ! src/share/classes/java/time/zone/Ser.java ! src/share/classes/java/time/zone/ZoneOffsetTransition.java ! src/share/classes/java/time/zone/ZoneOffsetTransitionRule.java ! src/share/classes/java/time/zone/ZoneRules.java ! test/java/time/tck/java/time/chrono/TCKChronologySerialization.java Changeset: 8b4aef582087 Author: rriggs Date: 2013-09-11 10:35 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8b4aef582087 Merge From xueming.shen at oracle.com Wed Sep 11 11:29:05 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Wed, 11 Sep 2013 18:29:05 +0000 Subject: hg: jdk8/tl/jdk: 8024338: Constant fields introduced by JDK-4759491 fix in b94 are exposed as public fields in public API Message-ID: <20130911182930.33DE56272A@hg.openjdk.java.net> Changeset: 60b4cbdb446d Author: sherman Date: 2013-09-11 11:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/60b4cbdb446d 8024338: Constant fields introduced by JDK-4759491 fix in b94 are exposed as public fields in public API Summary: to move the new constants out of ZipConstants.java Reviewed-by: martin ! src/share/classes/java/util/zip/ZipConstants.java ! src/share/classes/java/util/zip/ZipConstants64.java ! src/share/classes/java/util/zip/ZipEntry.java From joe.darcy at oracle.com Thu Sep 12 01:47:32 2013 From: joe.darcy at oracle.com (joe.darcy at oracle.com) Date: Thu, 12 Sep 2013 08:47:32 +0000 Subject: hg: jdk8/tl/jdk: 8024643: Turn on javac lint checking in building the jdk repo Message-ID: <20130912084746.1C41C6274A@hg.openjdk.java.net> Changeset: 262a625809fd Author: darcy Date: 2013-09-12 01:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/262a625809fd 8024643: Turn on javac lint checking in building the jdk repo Reviewed-by: erikj, ihse, smarks ! makefiles/Setup.gmk From daniel.fuchs at oracle.com Thu Sep 12 08:31:00 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Thu, 12 Sep 2013 15:31:00 +0000 Subject: hg: jdk8/tl/jdk: 8024525: Make Logger log methods call isLoggable() Message-ID: <20130912153131.4636262769@hg.openjdk.java.net> Changeset: 631c8dcd91f4 Author: dfuchs Date: 2013-09-12 17:01 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/631c8dcd91f4 8024525: Make Logger log methods call isLoggable() Summary: This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks. Reviewed-by: mchung, alanb ! src/share/classes/java/util/logging/Logger.java + test/java/util/logging/Logger/isLoggable/TestIsLoggable.java From roger.riggs at oracle.com Thu Sep 12 09:19:46 2013 From: roger.riggs at oracle.com (roger.riggs at oracle.com) Date: Thu, 12 Sep 2013 16:19:46 +0000 Subject: hg: jdk8/tl/jdk: 8024618: Issues with French locale on compact1, 2: expected: but was: Message-ID: <20130912162020.78E956276C@hg.openjdk.java.net> Changeset: 672f349fbad7 Author: rriggs Date: 2013-09-12 10:58 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/672f349fbad7 8024618: Issues with French locale on compact1,2: expected: but was: Summary: Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above Reviewed-by: alanb ! test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java From lance.andersen at oracle.com Thu Sep 12 10:21:06 2013 From: lance.andersen at oracle.com (lance.andersen at oracle.com) Date: Thu, 12 Sep 2013 17:21:06 +0000 Subject: hg: jdk8/tl/jdk: 8015340: remove erroneous @since tag Message-ID: <20130912172120.2783962773@hg.openjdk.java.net> Changeset: 60d6f60416ca Author: lancea Date: 2013-09-12 13:20 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/60d6f60416ca 8015340: remove erroneous @since tag Reviewed-by: darcy ! src/share/classes/java/sql/PreparedStatement.java From vicente.romero at oracle.com Thu Sep 12 14:41:43 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Thu, 12 Sep 2013 21:41:43 +0000 Subject: hg: jdk8/tl/langtools: 8023558: Javac creates invalid bootstrap methods for complex lambda/methodref case Message-ID: <20130912214149.3271F6278A@hg.openjdk.java.net> Changeset: 3ae1814f7c59 Author: vromero Date: 2013-09-12 22:40 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/3ae1814f7c59 8023558: Javac creates invalid bootstrap methods for complex lambda/methodref case Reviewed-by: jjg Contributed-by: maurizio.cimadamore at oracle.com, vicente.romero at oracle.com ! src/share/classes/com/sun/tools/javac/comp/TransTypes.java + test/tools/javac/lambda/8023558/T8023558a.java + test/tools/javac/lambda/8023558/T8023558b.java + test/tools/javac/lambda/8023558/T8023558c.java From mark.sheppard at oracle.com Fri Sep 13 03:46:44 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Fri, 13 Sep 2013 11:46:44 +0100 Subject: RFR: JDK-8024675 - java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows Message-ID: <5232ED14.1020006@oracle.com> Hi please oblige and review the webrev below which addresses the issue problem: https://bugs.openjdk.java.net/browse/JDK-8024675 webrev: http://cr.openjdk.java.net/~msheppar/8024675/webrev/ The test has been amended to only consider NetworkInterfaces that are active (i.e. isUp() == true) and have a configured MAC address when building the test's NetworkInterface list. Previously, the test list was constructed from interface with a configured MAC address. It was found during testing that some Windows configuration have tunnel adapters configured with the same MAC address. These were found to be inactive. It is assumed that neither can be simultaneously active. regards Mark From Alan.Bateman at oracle.com Fri Sep 13 03:52:09 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Fri, 13 Sep 2013 11:52:09 +0100 Subject: RFR: JDK-8024675 - java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows In-Reply-To: <5232ED14.1020006@oracle.com> References: <5232ED14.1020006@oracle.com> Message-ID: <5232EE59.4040204@oracle.com> On 13/09/2013 11:46, Mark Sheppard wrote: > Hi > please oblige and review the webrev below which addresses the issue > > problem: > https://bugs.openjdk.java.net/browse/JDK-8024675 > > webrev: > http://cr.openjdk.java.net/~msheppar/8024675/webrev/ > > The test has been amended to only consider NetworkInterfaces > that are active (i.e. isUp() == true) and have a configured MAC address > when building the test's NetworkInterface list. > Previously, the test list was constructed from interface with a > configured MAC address. > It was found during testing that some Windows configuration have tunnel > adapters configured with the same MAC address. These were found to be > inactive. > It is assumed that neither can be simultaneously active. Skipping the interfaces that aren't "up" seems right so looks okay to me. I'm not sure why the .println ended up on its own line, I wonder if that should be fixed while you are there. -Alan From chris.hegarty at oracle.com Fri Sep 13 04:06:12 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Fri, 13 Sep 2013 12:06:12 +0100 Subject: RFR: JDK-8024675 - java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows In-Reply-To: <5232EE59.4040204@oracle.com> References: <5232ED14.1020006@oracle.com> <5232EE59.4040204@oracle.com> Message-ID: <5232F1A4.6000203@oracle.com> On 13/09/2013 11:52, Alan Bateman wrote: > On 13/09/2013 11:46, Mark Sheppard wrote: >> Hi >> please oblige and review the webrev below which addresses the issue >> >> problem: >> https://bugs.openjdk.java.net/browse/JDK-8024675 >> >> webrev: >> http://cr.openjdk.java.net/~msheppar/8024675/webrev/ >> >> The test has been amended to only consider NetworkInterfaces >> that are active (i.e. isUp() == true) and have a configured MAC address >> when building the test's NetworkInterface list. >> Previously, the test list was constructed from interface with a >> configured MAC address. >> It was found during testing that some Windows configuration have tunnel >> adapters configured with the same MAC address. These were found to be >> inactive. >> It is assumed that neither can be simultaneously active. > Skipping the interfaces that aren't "up" seems right so looks okay to > me. I'm not sure why the .println ended up on its own line, I wonder if > that should be fixed while you are there. +1. Otherwise fine. I can sponsor this change for you Mark. -Chris. > > -Alan From alan.bateman at oracle.com Fri Sep 13 04:59:40 2013 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Fri, 13 Sep 2013 11:59:40 +0000 Subject: hg: jdk8/tl/jdk: 8024009: Remove jdk.map.useRandomSeed system property Message-ID: <20130913120014.A543F627D2@hg.openjdk.java.net> Changeset: cc2bae7f8fbb Author: bchristi Date: 2013-09-12 14:22 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cc2bae7f8fbb 8024009: Remove jdk.map.useRandomSeed system property Summary: Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests Reviewed-by: alanb, mduigou ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/WeakHashMap.java - test/java/util/Map/CheckRandomHashSeed.java ! test/java/util/Map/Collisions.java From chris.hegarty at oracle.com Fri Sep 13 05:14:50 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Fri, 13 Sep 2013 12:14:50 +0000 Subject: hg: jdk8/tl/jdk: 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows Message-ID: <20130913121513.9BD47627D3@hg.openjdk.java.net> Changeset: c53411f89b4c Author: msheppar Date: 2013-09-13 12:20 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c53411f89b4c 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows Summary: amended test to add active, i.e. isUp(), NetworkInterfaces to test list Reviewed-by: alanb, chegar ! test/java/net/NetworkInterface/UniqueMacAddressesTest.java From rob.mckenna at oracle.com Fri Sep 13 10:32:37 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Fri, 13 Sep 2013 18:32:37 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5228EA9F.3060700@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> Message-ID: <52334C35.7060001@oracle.com> Hi folks, updated webrev at: http://cr.openjdk.java.net/~robm/7180557/webrev.02/ Hopefully all of your concerns have been addressed. W.r.t. the use of AI_CANONNAME, this doesn't actually make a difference in the context of this fix, but is definitely something that should be looked at. I'll put it on the todo list. -Rob On 05/09/13 21:33, Dmitry Samersoff wrote: > Rob, > > Did you try to remove > > hints.ai_flags = AI_CANONNAME > > this flag asks getaddreinfo to return FQDN, but the function behavior is > not clearly defined for the case where FQDN is not available. > > -Dmitry > > On 2013-09-03 19:18, Rob McKenna wrote: >> Hi folks, >> >> Mac seems to have trouble looking up local hostnames using getaddrinfo >> unless a domain is set. The solution is to add a check with getifaddrs . >> >> This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen >> a canonical answer on whether this is the way to go so I figured trial >> by fire might get the discussion going. >> >> http://cr.openjdk.java.net/~robm/7180557/webrev.01/ >> >> -Rob >> > From mike.duigou at oracle.com Fri Sep 13 12:02:30 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 13 Sep 2013 19:02:30 +0000 Subject: hg: jdk8/tl/jdk: 3 new changesets Message-ID: <20130913190310.4344162806@hg.openjdk.java.net> Changeset: c65848f2b6a1 Author: mduigou Date: 2013-09-13 11:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c65848f2b6a1 8021591: Additional explicit null checks Reviewed-by: psandoz, alanb ! src/share/classes/java/util/Collections.java ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/IdentityHashMap.java ! src/share/classes/java/util/Map.java ! src/share/classes/java/util/TreeMap.java ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java ! src/share/classes/javax/security/auth/Subject.java ! test/java/util/Collection/CollectionDefaults.java - test/java/util/Collection/ListDefaults.java ! test/java/util/Collection/MOAT.java ! test/java/util/Collection/testlibrary/CollectionAsserts.java ! test/java/util/Collection/testlibrary/CollectionSupplier.java + test/java/util/Collection/testlibrary/ExtendsAbstractCollection.java + test/java/util/Collection/testlibrary/ExtendsAbstractList.java + test/java/util/Collection/testlibrary/ExtendsAbstractSet.java + test/java/util/List/ListDefaults.java ! test/java/util/Map/Defaults.java Changeset: 973fdd9506b2 Author: mduigou Date: 2013-09-13 11:19 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/973fdd9506b2 8024014: TEST.groups - split sub-groups for jdk_collections, jdk_stream, jdk_concurrent, jdk_util_other from jdk_util Reviewed-by: mchung, dholmes, alanb ! test/TEST.groups Changeset: 5f81a12fed4d Author: bchristi Date: 2013-09-13 11:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5f81a12fed4d 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx] Summary: On MacOS X set user.home to value of NSHomeDirectory() Reviewed-by: alanb, ddehaven, mduigou ! make/common/Defs-macosx.gmk ! make/java/java/Makefile ! makefiles/CompileNativeLibraries.gmk ! src/solaris/native/java/lang/java_props_macosx.c ! src/solaris/native/java/lang/java_props_macosx.h ! src/solaris/native/java/lang/java_props_md.c From mike.duigou at oracle.com Fri Sep 13 12:07:28 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 13 Sep 2013 19:07:28 +0000 Subject: hg: jdk8/tl: 8024201: Update bugdatabase url Message-ID: <20130913190729.46E1562807@hg.openjdk.java.net> Changeset: 67f64101616e Author: mduigou Date: 2013-09-13 12:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/67f64101616e 8024201: Update bugdatabase url Reviewed-by: wetmore ! make/scripts/webrev.ksh From bernd-2013 at eckenfels.net Fri Sep 13 12:28:44 2013 From: bernd-2013 at eckenfels.net (Bernd Eckenfels) Date: Fri, 13 Sep 2013 21:28:44 +0200 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <52334C35.7060001@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> <52334C35.7060001@oracle.com> Message-ID: Am 13.09.2013, 19:32 Uhr, schrieb Rob McKenna : > W.r.t. the use of AI_CANONNAME, this doesn't actually make a difference > in the context of this fix, but is definitely something that should be > looked at. I'll put it on the todo list. I think it does make a difference: If you remove the CANON flag getaddrinfo() will not do DNS lookups when the host is configured to prefer the hosts file (which it should do on Linux and OSX). And so the platform specific lookupIfLocalhost() can be put after the getaddrinfo() (again). I actually think the bug "exists" on all platforms. If getaddrinfo() fails because neighter hosts nor DNS file finds the name this can happen on all platforms. I dont think it helps to add a fallback only on MACOSX (and there is certainly no need to prefer the fallback then). Gruss Bernd From rob.mckenna at oracle.com Fri Sep 13 16:00:45 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Sat, 14 Sep 2013 00:00:45 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> <52334C35.7060001@oracle.com> Message-ID: <5233991D.8080801@oracle.com> Hi Bernd, I should have said in the context of this bug. What I meant was removing AI_CANONNAME doesn't resolve the issue as far as Mac is concerned. I.e. I still see the UnknownHostException. In this particular case the hostname is not set via the hosts file. In the latest webrev the call to getifaddrs only occurs if getaddrinfo fails. -Rob On 13/09/13 20:28, Bernd Eckenfels wrote: > Am 13.09.2013, 19:32 Uhr, schrieb Rob McKenna : >> W.r.t. the use of AI_CANONNAME, this doesn't actually make a >> difference in the context of this fix, but is definitely something >> that should be looked at. I'll put it on the todo list. > > I think it does make a difference: If you remove the CANON flag > getaddrinfo() will not do DNS lookups when the host is configured to > prefer the hosts file (which it should do on Linux and OSX). And so > the platform specific lookupIfLocalhost() can be put after the > getaddrinfo() (again). > > I actually think the bug "exists" on all platforms. If getaddrinfo() > fails because neighter hosts nor DNS file finds the name this can > happen on all platforms. I dont think it helps to add a fallback only > on MACOSX (and there is certainly no need to prefer the fallback then). > > Gruss > Bernd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130914/dec444f9/attachment.html From lance.andersen at oracle.com Fri Sep 13 16:10:58 2013 From: lance.andersen at oracle.com (lance.andersen at oracle.com) Date: Fri, 13 Sep 2013 23:10:58 +0000 Subject: hg: jdk8/tl/jdk: 8014967: EBehavior of DriverManager.registerDriver(dr) is unspecified if driver is null Message-ID: <20130913231124.2D25B6280E@hg.openjdk.java.net> Changeset: 5c7690923663 Author: lancea Date: 2013-09-13 19:10 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5c7690923663 8014967: EBehavior of DriverManager.registerDriver(dr) is unspecified if driver is null Reviewed-by: alanb ! src/share/classes/java/sql/DriverManager.java From vicente.romero at oracle.com Sat Sep 14 07:25:15 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Sat, 14 Sep 2013 14:25:15 +0000 Subject: hg: jdk8/tl/langtools: 8024207: javac crash in Flow.AssignAnalyzer.visitIdent Message-ID: <20130914142518.A4D456282D@hg.openjdk.java.net> Changeset: 03c26c60499c Author: vromero Date: 2013-09-14 15:23 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/03c26c60499c 8024207: javac crash in Flow.AssignAnalyzer.visitIdent Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/T8024207/FlowCrashTest.java + test/tools/javac/T8024207/FlowCrashTest.out From roger.riggs at oracle.com Sat Sep 14 11:14:02 2013 From: roger.riggs at oracle.com (roger.riggs at oracle.com) Date: Sat, 14 Sep 2013 18:14:02 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130914181439.5FDCF62830@hg.openjdk.java.net> Changeset: 3255a4e348a1 Author: rriggs Date: 2013-09-14 13:55 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3255a4e348a1 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines Summary: Test timed out on a slow machine; it is not a conformance test and should be in the test subtree Reviewed-by: darcy, sherman ! test/java/time/tck/java/time/TCKLocalTime.java ! test/java/time/test/java/time/TestLocalTime.java Changeset: 35bb1c7f227c Author: rriggs Date: 2013-09-14 13:55 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/35bb1c7f227c 8023556: Update javadoc for start of Meiji era Summary: correct the javadoc in JapaneseEra.MEIJI to match the implementation Reviewed-by: darcy, sherman ! src/share/classes/java/time/chrono/JapaneseEra.java ! test/java/time/test/java/time/TestLocalTime.java From vicente.romero at oracle.com Sat Sep 14 11:21:30 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Sat, 14 Sep 2013 18:21:30 +0000 Subject: hg: jdk8/tl/langtools: 7047734: javac, the LVT is not generated correctly in several scenarios Message-ID: <20130914182133.5A34462831@hg.openjdk.java.net> Changeset: 4932bb04c4b8 Author: vromero Date: 2013-09-14 19:04 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/4932bb04c4b8 7047734: javac, the LVT is not generated correctly in several scenarios Reviewed-by: jjg, mcimadamore ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/share/classes/com/sun/tools/javac/comp/TransTypes.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/share/classes/com/sun/tools/javac/jvm/Code.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/com/sun/tools/javac/jvm/Items.java + src/share/classes/com/sun/tools/javac/jvm/LVTRanges.java ! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/share/classes/com/sun/tools/javac/util/Bits.java + test/tools/javac/flow/AliveRanges.java + test/tools/javac/flow/LVTHarness.java + test/tools/javac/flow/tests/TestCaseConditional.java + test/tools/javac/flow/tests/TestCaseDoLoop.java + test/tools/javac/flow/tests/TestCaseFor.java + test/tools/javac/flow/tests/TestCaseForEach.java + test/tools/javac/flow/tests/TestCaseIf.java + test/tools/javac/flow/tests/TestCaseIfElse.java + test/tools/javac/flow/tests/TestCaseSwitch.java + test/tools/javac/flow/tests/TestCaseTry.java + test/tools/javac/flow/tests/TestCaseWhile.java From mark.sheppard at oracle.com Sun Sep 15 04:34:40 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Sun, 15 Sep 2013 12:34:40 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems Message-ID: <52359B50.2060208@oracle.com> Hi please oblige and review the webrev below which addresses the issue problem: https://bugs.openjdk.java.net/browse/JDK-6458027 webrev: http://cr.openjdk.java.net/~msheppar/6458027/webrev/ the core of the issue is that a windows platform may be IPv6 enabled, but an individual adapter/interface may not be configured with for IPv6. This causes a problem with the MulticastSocket.setNetworkInterface() and MulticastSocket.getNetworkInterface() methods. The solution focuses on adding and additional check on the individual interface for IPV6 enabling. The fallback position when an adapter is not configured for IPV6, is to handled it as IPV4, only. It should be noted that setting an Interface which does not have a valid IP address bound to it will result in a SocketException. As such, i the onus in on the application to supply a validly configured NetworkInterface object to the MulticastSocket.setNetworkInterface(). With this in mind, the set of Interfaces constructed for the associated test is based on the interface being up, multicast, and valid IP address configured. regards Mark From paul.sandoz at oracle.com Sun Sep 15 06:43:35 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Sun, 15 Sep 2013 13:43:35 +0000 Subject: hg: jdk8/tl/jdk: 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently Message-ID: <20130915134420.CAF1B6284C@hg.openjdk.java.net> Changeset: ff6c76f7733e Author: psandoz Date: 2013-09-02 11:59 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ff6c76f7733e 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently Reviewed-by: forax, chegar, alanb Contributed-by: Doug Lea
, Peter Levart , Paul Sandoz ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java ! test/java/util/concurrent/ConcurrentHashMap/toArray.java From paul.sandoz at oracle.com Sun Sep 15 07:18:45 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Sun, 15 Sep 2013 14:18:45 +0000 Subject: hg: jdk8/tl/jdk: 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java Message-ID: <20130915141900.C95516284D@hg.openjdk.java.net> Changeset: 5025ed287a4a Author: psandoz Date: 2013-09-15 16:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5025ed287a4a 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java Reviewed-by: alanb ! test/java/util/concurrent/ConcurrentHashMap/ToArray.java < test/java/util/concurrent/ConcurrentHashMap/toArray.java From xueming.shen at oracle.com Sun Sep 15 11:14:13 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Sun, 15 Sep 2013 18:14:13 +0000 Subject: hg: jdk8/tl/jdk: 7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message Message-ID: <20130915181435.EEA0762851@hg.openjdk.java.net> Changeset: b9d59414de23 Author: sherman Date: 2013-09-15 11:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b9d59414de23 7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message Summary: to correct the typo Reviewed-by: alanb, chegar ! make/tools/src/build/tools/generatecharacter/CharacterName.java ! src/share/classes/java/util/Properties.java From xueming.shen at oracle.com Sun Sep 15 13:56:16 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Sun, 15 Sep 2013 20:56:16 +0000 Subject: hg: jdk8/tl/jdk: 8020687: Deflater.setLevel does not work as expected Message-ID: <20130915205637.A73BA62856@hg.openjdk.java.net> Changeset: efa09bf27d39 Author: sherman Date: 2013-09-15 13:58 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/efa09bf27d39 8020687: Deflater.setLevel does not work as expected Summary: to clarify the api to match the existing implementation behavior Reviewed-by: alanb ! src/share/classes/java/util/zip/Deflater.java From michael.x.mcmahon at oracle.com Mon Sep 16 03:10:08 2013 From: michael.x.mcmahon at oracle.com (Michael McMahon) Date: Mon, 16 Sep 2013 11:10:08 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <52359B50.2060208@oracle.com> References: <52359B50.2060208@oracle.com> Message-ID: <5236D900.20208@oracle.com> One comment so far. The ipv4mode parameter in getIPv4NetworkInterface() seems superfluous, with the call using parameter value "0" could be just elided to using the null return value directly. I was a bit confused also that the new function is in the TwoStacks... module, but it seems this file contains native code common to both dual stack/two stacks mode. We probably should move this code to a different source file some time, but it might be useful to put a comment in at least to say that it is common to both modes. Michael On 15/09/13 12:34, Mark Sheppard wrote: > Hi > please oblige and review the webrev below which addresses the issue > > problem: > https://bugs.openjdk.java.net/browse/JDK-6458027 > > webrev: > http://cr.openjdk.java.net/~msheppar/6458027/webrev/ > > the core of the issue is that a windows platform may be IPv6 enabled, but > an individual adapter/interface may not be configured with for IPv6. > This causes a problem with the MulticastSocket.setNetworkInterface() > and MulticastSocket.getNetworkInterface() methods. > > The solution focuses on adding and additional check on the > individual interface for IPV6 enabling. > > The fallback position when an adapter is not configured for IPV6, is to > handled it as IPV4, only. > > It should be noted that setting an Interface which does not have a > valid IP address bound to it will result in a SocketException. As such, i > the onus in on the application to supply a validly configured > NetworkInterface object to the MulticastSocket.setNetworkInterface(). > > With this in mind, the set of Interfaces constructed for the > associated test > is based on the interface being up, multicast, and valid IP address > configured. > > regards > Mark From chris.hegarty at oracle.com Mon Sep 16 03:33:42 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Mon, 16 Sep 2013 11:33:42 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236D900.20208@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> Message-ID: <5236DE86.20601@oracle.com> Mark, From what I can see, I think the changes are correct. On 16/09/2013 11:10, Michael McMahon wrote: > One comment so far. The ipv4mode parameter in > > getIPv4NetworkInterface() > > seems superfluous, with the call using parameter value "0" > could be just elided to using the null return value directly. I think the param is needed to determine if the function should ever return NULL, or force creation of the NI instance. From what I can see, Mark's changes preserve the same behavior by using this param. > I was a bit confused also that the new function is in the TwoStacks... > module, > but it seems this file contains native code common to both dual > stack/two stacks > mode. We probably should move this code to a different source file some > time, > but it might be useful to put a comment in at least to say that it is > common > to both modes. I'm not sure what what code you are referring to here, but as far as I am aware there is no dual stack code in this file. Yes, there is both IPv4 and IPv6, but both should be on separate sockets. -Chris. > > Michael > > > > On 15/09/13 12:34, Mark Sheppard wrote: >> Hi >> please oblige and review the webrev below which addresses the issue >> >> problem: >> https://bugs.openjdk.java.net/browse/JDK-6458027 >> >> webrev: >> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >> >> the core of the issue is that a windows platform may be IPv6 enabled, but >> an individual adapter/interface may not be configured with for IPv6. >> This causes a problem with the MulticastSocket.setNetworkInterface() >> and MulticastSocket.getNetworkInterface() methods. >> >> The solution focuses on adding and additional check on the >> individual interface for IPV6 enabling. >> >> The fallback position when an adapter is not configured for IPV6, is to >> handled it as IPV4, only. >> >> It should be noted that setting an Interface which does not have a >> valid IP address bound to it will result in a SocketException. As such, i >> the onus in on the application to supply a validly configured >> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >> >> With this in mind, the set of Interfaces constructed for the >> associated test >> is based on the interface being up, multicast, and valid IP address >> configured. >> >> regards >> Mark > From mark.sheppard at oracle.com Mon Sep 16 03:31:14 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Mon, 16 Sep 2013 11:31:14 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236D900.20208@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> Message-ID: <5236DDF2.30003@oracle.com> Hi Michael, thanks for the response. the getIPv4NetworkInterface is called in two places within the getMulticastInterface function. It's a refactoring of what would have been duplicate code. This lead to the "boolean" ipv4Mode. line 2039 if (isIPV4) { jobject netObject = NULL; // return is either an addr or a netif netObject = getIPv4NetworkInterface(env, this, fd, opt, 1); return netObject; } and line 2134 return addr; } else if (index == 0) { jobject netObject = NULL; netObject = getIPv4NetworkInterface(env, this, fd, opt, 0); if (netObject != NULL) { return netObject; } } in the former the return will either be a always be an object, which may have a null NetworkInterface object in the latter it maybe null value in which case this branch of the code fabricates a null NetworkInterface object. The calling sequence here is for IPv6 and is slightly different than that for IPv4. hence the use of ipv4Mode indicator in getIPv4NetworkInterface function. I'll add some comments as suggested regards Mark On 16/09/2013 11:10, Michael McMahon wrote: > One comment so far. The ipv4mode parameter in > > getIPv4NetworkInterface() > > seems superfluous, with the call using parameter value "0" > could be just elided to using the null return value directly. > > I was a bit confused also that the new function is in the TwoStacks... > module, > but it seems this file contains native code common to both dual > stack/two stacks > mode. We probably should move this code to a different source file > some time, > but it might be useful to put a comment in at least to say that it is > common > to both modes. > > Michael > > > > On 15/09/13 12:34, Mark Sheppard wrote: >> Hi >> please oblige and review the webrev below which addresses the issue >> >> problem: >> https://bugs.openjdk.java.net/browse/JDK-6458027 >> >> webrev: >> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >> >> the core of the issue is that a windows platform may be IPv6 enabled, >> but >> an individual adapter/interface may not be configured with for IPv6. >> This causes a problem with the MulticastSocket.setNetworkInterface() >> and MulticastSocket.getNetworkInterface() methods. >> >> The solution focuses on adding and additional check on the >> individual interface for IPV6 enabling. >> >> The fallback position when an adapter is not configured for IPV6, is to >> handled it as IPV4, only. >> >> It should be noted that setting an Interface which does not have a >> valid IP address bound to it will result in a SocketException. As >> such, i >> the onus in on the application to supply a validly configured >> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >> >> With this in mind, the set of Interfaces constructed for the >> associated test >> is based on the interface being up, multicast, and valid IP address >> configured. >> >> regards >> Mark > From mark.sheppard at oracle.com Mon Sep 16 03:34:22 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Mon, 16 Sep 2013 11:34:22 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236DE86.20601@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> <5236DE86.20601@oracle.com> Message-ID: <5236DEAE.8050108@oracle.com> Thanks Chris .... more lucid than my own reply Mark On 16/09/2013 11:33, Chris Hegarty wrote: > Mark, > > From what I can see, I think the changes are correct. > > On 16/09/2013 11:10, Michael McMahon wrote: >> One comment so far. The ipv4mode parameter in >> >> getIPv4NetworkInterface() >> >> seems superfluous, with the call using parameter value "0" >> could be just elided to using the null return value directly. > > I think the param is needed to determine if the function should ever > return NULL, or force creation of the NI instance. From what I can > see, Mark's changes preserve the same behavior by using this param. > >> I was a bit confused also that the new function is in the TwoStacks... >> module, >> but it seems this file contains native code common to both dual >> stack/two stacks >> mode. We probably should move this code to a different source file some >> time, >> but it might be useful to put a comment in at least to say that it is >> common >> to both modes. > > I'm not sure what what code you are referring to here, but as far as I > am aware there is no dual stack code in this file. Yes, there is both > IPv4 and IPv6, but both should be on separate sockets. > > -Chris. > >> >> Michael >> >> >> >> On 15/09/13 12:34, Mark Sheppard wrote: >>> Hi >>> please oblige and review the webrev below which addresses the issue >>> >>> problem: >>> https://bugs.openjdk.java.net/browse/JDK-6458027 >>> >>> webrev: >>> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >>> >>> the core of the issue is that a windows platform may be IPv6 >>> enabled, but >>> an individual adapter/interface may not be configured with for IPv6. >>> This causes a problem with the MulticastSocket.setNetworkInterface() >>> and MulticastSocket.getNetworkInterface() methods. >>> >>> The solution focuses on adding and additional check on the >>> individual interface for IPV6 enabling. >>> >>> The fallback position when an adapter is not configured for IPV6, is to >>> handled it as IPV4, only. >>> >>> It should be noted that setting an Interface which does not have a >>> valid IP address bound to it will result in a SocketException. As >>> such, i >>> the onus in on the application to supply a validly configured >>> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >>> >>> With this in mind, the set of Interfaces constructed for the >>> associated test >>> is based on the interface being up, multicast, and valid IP address >>> configured. >>> >>> regards >>> Mark >> From michael.x.mcmahon at oracle.com Mon Sep 16 04:11:22 2013 From: michael.x.mcmahon at oracle.com (Michael McMahon) Date: Mon, 16 Sep 2013 12:11:22 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236DE86.20601@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> <5236DE86.20601@oracle.com> Message-ID: <5236E75A.2060905@oracle.com> On 16/09/13 11:33, Chris Hegarty wrote: > Mark, > > From what I can see, I think the changes are correct. > > On 16/09/2013 11:10, Michael McMahon wrote: >> One comment so far. The ipv4mode parameter in >> >> getIPv4NetworkInterface() >> >> seems superfluous, with the call using parameter value "0" >> could be just elided to using the null return value directly. > > I think the param is needed to determine if the function should ever > return NULL, or force creation of the NI instance. From what I can > see, Mark's changes preserve the same behavior by using this param. > Right. I missed the return statement just before. >> I was a bit confused also that the new function is in the TwoStacks... >> module, >> but it seems this file contains native code common to both dual >> stack/two stacks >> mode. We probably should move this code to a different source file some >> time, >> but it might be useful to put a comment in at least to say that it is >> common >> to both modes. > > I'm not sure what what code you are referring to here, but as far as I > am aware there is no dual stack code in this file. Yes, there is both > IPv4 and IPv6, but both should be on separate sockets. > yep. Forget that as well. I thought it was being called from common code. So, I'm missing how this code is relevant then on Vista, which should be using the dual stack implementation then ? Michael > -Chris. > >> >> Michael >> >> >> >> On 15/09/13 12:34, Mark Sheppard wrote: >>> Hi >>> please oblige and review the webrev below which addresses the issue >>> >>> problem: >>> https://bugs.openjdk.java.net/browse/JDK-6458027 >>> >>> webrev: >>> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >>> >>> the core of the issue is that a windows platform may be IPv6 >>> enabled, but >>> an individual adapter/interface may not be configured with for IPv6. >>> This causes a problem with the MulticastSocket.setNetworkInterface() >>> and MulticastSocket.getNetworkInterface() methods. >>> >>> The solution focuses on adding and additional check on the >>> individual interface for IPV6 enabling. >>> >>> The fallback position when an adapter is not configured for IPV6, is to >>> handled it as IPV4, only. >>> >>> It should be noted that setting an Interface which does not have a >>> valid IP address bound to it will result in a SocketException. As >>> such, i >>> the onus in on the application to supply a validly configured >>> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >>> >>> With this in mind, the set of Interfaces constructed for the >>> associated test >>> is based on the interface being up, multicast, and valid IP address >>> configured. >>> >>> regards >>> Mark >> From mark.sheppard at oracle.com Mon Sep 16 04:23:16 2013 From: mark.sheppard at oracle.com (Mark Sheppard) Date: Mon, 16 Sep 2013 12:23:16 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236E75A.2060905@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> <5236DE86.20601@oracle.com> <5236E75A.2060905@oracle.com> Message-ID: <5236EA24.5080206@oracle.com> Not sure about Vista per se ... Initially I ran the test case on windows 7 and the same failures existed so on analysis and tracing lead me to the TwoStackPlainDatagramSocketImpl I'm dependent on JPRT to handle the vista case ... if a Vista box exists I can run the test explicitly on it to ensure nothing has been overlooked? But, from my analysis the issue appeared to be the case that the ipv6_available is an OS level check, and this is insufficient as the individual adapters/interfaces may not be configured for IPv6, and so are handled as IPv4 interfaces. regards Mark On 16/09/2013 12:11, Michael McMahon wrote: > On 16/09/13 11:33, Chris Hegarty wrote: >> Mark, >> >> From what I can see, I think the changes are correct. >> >> On 16/09/2013 11:10, Michael McMahon wrote: >>> One comment so far. The ipv4mode parameter in >>> >>> getIPv4NetworkInterface() >>> >>> seems superfluous, with the call using parameter value "0" >>> could be just elided to using the null return value directly. >> >> I think the param is needed to determine if the function should ever >> return NULL, or force creation of the NI instance. From what I can >> see, Mark's changes preserve the same behavior by using this param. >> > > Right. I missed the return statement just before. > >>> I was a bit confused also that the new function is in the TwoStacks... >>> module, >>> but it seems this file contains native code common to both dual >>> stack/two stacks >>> mode. We probably should move this code to a different source file some >>> time, >>> but it might be useful to put a comment in at least to say that it is >>> common >>> to both modes. >> >> I'm not sure what what code you are referring to here, but as far as >> I am aware there is no dual stack code in this file. Yes, there is >> both IPv4 and IPv6, but both should be on separate sockets. >> > > yep. Forget that as well. I thought it was being called from common > code. So, I'm missing how this > code is relevant then on Vista, which should be using the dual stack > implementation then ? > > Michael > > >> -Chris. >> >>> >>> Michael >>> >>> >>> >>> On 15/09/13 12:34, Mark Sheppard wrote: >>>> Hi >>>> please oblige and review the webrev below which addresses the issue >>>> >>>> problem: >>>> https://bugs.openjdk.java.net/browse/JDK-6458027 >>>> >>>> webrev: >>>> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >>>> >>>> the core of the issue is that a windows platform may be IPv6 >>>> enabled, but >>>> an individual adapter/interface may not be configured with for IPv6. >>>> This causes a problem with the MulticastSocket.setNetworkInterface() >>>> and MulticastSocket.getNetworkInterface() methods. >>>> >>>> The solution focuses on adding and additional check on the >>>> individual interface for IPV6 enabling. >>>> >>>> The fallback position when an adapter is not configured for IPV6, >>>> is to >>>> handled it as IPV4, only. >>>> >>>> It should be noted that setting an Interface which does not have a >>>> valid IP address bound to it will result in a SocketException. As >>>> such, i >>>> the onus in on the application to supply a validly configured >>>> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >>>> >>>> With this in mind, the set of Interfaces constructed for the >>>> associated test >>>> is based on the interface being up, multicast, and valid IP address >>>> configured. >>>> >>>> regards >>>> Mark >>> > From chris.hegarty at oracle.com Mon Sep 16 05:53:50 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Mon, 16 Sep 2013 13:53:50 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236E75A.2060905@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> <5236DE86.20601@oracle.com> <5236E75A.2060905@oracle.com> Message-ID: <5236FF5E.3090103@oracle.com> On 16/09/2013 12:11, Michael McMahon wrote: > ... > yep. Forget that as well. I thought it was being called from common > code. So, I'm missing how this > code is relevant then on Vista, which should be using the dual stack > implementation then ? Multicasting on Windows still uses the two stack implementation :-( http://hg.openjdk.java.net/jdk8/tl/jdk/file/tip//src/windows/classes/java/net/DefaultDatagramSocketImplFactory.java#129 -Chris. > > Michael > > >> -Chris. >> >>> >>> Michael >>> >>> >>> >>> On 15/09/13 12:34, Mark Sheppard wrote: >>>> Hi >>>> please oblige and review the webrev below which addresses the issue >>>> >>>> problem: >>>> https://bugs.openjdk.java.net/browse/JDK-6458027 >>>> >>>> webrev: >>>> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >>>> >>>> the core of the issue is that a windows platform may be IPv6 >>>> enabled, but >>>> an individual adapter/interface may not be configured with for IPv6. >>>> This causes a problem with the MulticastSocket.setNetworkInterface() >>>> and MulticastSocket.getNetworkInterface() methods. >>>> >>>> The solution focuses on adding and additional check on the >>>> individual interface for IPV6 enabling. >>>> >>>> The fallback position when an adapter is not configured for IPV6, is to >>>> handled it as IPV4, only. >>>> >>>> It should be noted that setting an Interface which does not have a >>>> valid IP address bound to it will result in a SocketException. As >>>> such, i >>>> the onus in on the application to supply a validly configured >>>> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >>>> >>>> With this in mind, the set of Interfaces constructed for the >>>> associated test >>>> is based on the interface being up, multicast, and valid IP address >>>> configured. >>>> >>>> regards >>>> Mark >>> > From michael.x.mcmahon at oracle.com Mon Sep 16 06:01:36 2013 From: michael.x.mcmahon at oracle.com (Michael McMahon) Date: Mon, 16 Sep 2013 14:01:36 +0100 Subject: RFR: JDK-6458027 - Disabling IPv6 on a specific network interface causes problems In-Reply-To: <5236FF5E.3090103@oracle.com> References: <52359B50.2060208@oracle.com> <5236D900.20208@oracle.com> <5236DE86.20601@oracle.com> <5236E75A.2060905@oracle.com> <5236FF5E.3090103@oracle.com> Message-ID: <52370130.6010102@oracle.com> On 16/09/13 13:53, Chris Hegarty wrote: > > On 16/09/2013 12:11, Michael McMahon wrote: >> ... >> yep. Forget that as well. I thought it was being called from common >> code. So, I'm missing how this >> code is relevant then on Vista, which should be using the dual stack >> implementation then ? > > Multicasting on Windows still uses the two stack implementation :-( > > http://hg.openjdk.java.net/jdk8/tl/jdk/file/tip//src/windows/classes/java/net/DefaultDatagramSocketImplFactory.java#129 > > Okay. Got you now. Thanks Michael > -Chris. > >> >> Michael >> >> >>> -Chris. >>> >>>> >>>> Michael >>>> >>>> >>>> >>>> On 15/09/13 12:34, Mark Sheppard wrote: >>>>> Hi >>>>> please oblige and review the webrev below which addresses the issue >>>>> >>>>> problem: >>>>> https://bugs.openjdk.java.net/browse/JDK-6458027 >>>>> >>>>> webrev: >>>>> http://cr.openjdk.java.net/~msheppar/6458027/webrev/ >>>>> >>>>> the core of the issue is that a windows platform may be IPv6 >>>>> enabled, but >>>>> an individual adapter/interface may not be configured with for IPv6. >>>>> This causes a problem with the MulticastSocket.setNetworkInterface() >>>>> and MulticastSocket.getNetworkInterface() methods. >>>>> >>>>> The solution focuses on adding and additional check on the >>>>> individual interface for IPV6 enabling. >>>>> >>>>> The fallback position when an adapter is not configured for IPV6, >>>>> is to >>>>> handled it as IPV4, only. >>>>> >>>>> It should be noted that setting an Interface which does not have a >>>>> valid IP address bound to it will result in a SocketException. As >>>>> such, i >>>>> the onus in on the application to supply a validly configured >>>>> NetworkInterface object to the MulticastSocket.setNetworkInterface(). >>>>> >>>>> With this in mind, the set of Interfaces constructed for the >>>>> associated test >>>>> is based on the interface being up, multicast, and valid IP address >>>>> configured. >>>>> >>>>> regards >>>>> Mark >>>> >> From vicente.romero at oracle.com Mon Sep 16 06:30:27 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Mon, 16 Sep 2013 13:30:27 +0000 Subject: hg: jdk8/tl/langtools: 8021112: Spurious unchecked warning reported by javac; ... Message-ID: <20130916133030.6BBB362873@hg.openjdk.java.net> Changeset: 4ce8148ffc4f Author: jlahoda Date: 2013-09-16 14:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/4ce8148ffc4f 8021112: Spurious unchecked warning reported by javac 6480588: No way to suppress deprecation warnings when implementing deprecated interface Summary: Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings Reviewed-by: jjg, vromero ! src/share/classes/com/sun/tools/javac/code/DeferredLintHandler.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! test/tools/javac/depDocComment/SuppressDeprecation.out ! test/tools/javac/warnings/6594914/T6594914a.out ! test/tools/javac/warnings/6594914/T6594914b.out + test/tools/javac/warnings/suppress/ImplicitTest.java + test/tools/javac/warnings/suppress/ImplicitTest.out + test/tools/javac/warnings/suppress/PackageInfo.java + test/tools/javac/warnings/suppress/PackageInfo.out + test/tools/javac/warnings/suppress/T6480588.java + test/tools/javac/warnings/suppress/T6480588.out + test/tools/javac/warnings/suppress/T8021112a.java + test/tools/javac/warnings/suppress/T8021112b.java + test/tools/javac/warnings/suppress/T8021112b.out + test/tools/javac/warnings/suppress/TypeAnnotations.java + test/tools/javac/warnings/suppress/TypeAnnotations.out + test/tools/javac/warnings/suppress/VerifySuppressWarnings.java + test/tools/javac/warnings/suppress/pack/DeprecatedClass.java + test/tools/javac/warnings/suppress/pack/ImplicitMain.java + test/tools/javac/warnings/suppress/pack/ImplicitUse.java + test/tools/javac/warnings/suppress/pack/package-info.java From chris.hegarty at oracle.com Mon Sep 16 08:16:05 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Mon, 16 Sep 2013 15:16:05 +0000 Subject: hg: jdk8/tl/jdk: 6458027: Disabling IPv6 on a specific network interface causes problems Message-ID: <20130916151646.30F2E6287B@hg.openjdk.java.net> Changeset: db0fc2b71298 Author: msheppar Date: 2013-09-16 14:51 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/db0fc2b71298 6458027: Disabling IPv6 on a specific network interface causes problems Summary: added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface Reviewed-by: chegar, michaelm ! src/windows/native/java/net/NetworkInterface.c ! src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c + test/java/net/MulticastSocket/SetGetNetworkInterfaceTest.java From lance.andersen at oracle.com Tue Sep 17 04:57:15 2013 From: lance.andersen at oracle.com (lance.andersen at oracle.com) Date: Tue, 17 Sep 2013 11:57:15 +0000 Subject: hg: jdk8/tl/jdk: 7097386: Correct error in Predicate javadoc example Message-ID: <20130917115759.A0484628A9@hg.openjdk.java.net> Changeset: 657482758408 Author: lancea Date: 2013-09-17 07:56 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/657482758408 7097386: Correct error in Predicate javadoc example Reviewed-by: alanb, shade ! src/share/classes/javax/sql/rowset/Predicate.java From jonathan.gibbons at oracle.com Tue Sep 17 14:17:25 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 17 Sep 2013 21:17:25 +0000 Subject: hg: jdk8/tl/langtools: 8024538: -Xdoclint + -Xprefer:source + incremental compilation == FAIL Message-ID: <20130917211728.84334628CD@hg.openjdk.java.net> Changeset: fdfbc5f0c4ed Author: jjg Date: 2013-09-17 14:17 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/fdfbc5f0c4ed 8024538: -Xdoclint + -Xprefer:source + incremental compilation == FAIL Reviewed-by: darcy ! src/share/classes/com/sun/tools/doclint/DocLint.java ! src/share/classes/com/sun/tools/javac/comp/Enter.java + test/tools/javac/doclint/implicitSource/ImplicitSourceTest.java + test/tools/javac/doclint/implicitSource/Other.java From weijun.wang at oracle.com Wed Sep 18 03:25:52 2013 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Wed, 18 Sep 2013 10:25:52 +0000 Subject: hg: jdk8/tl/jdk: 8012615: Realm.getRealmsList returns realms list in wrong Message-ID: <20130918102712.42787628FD@hg.openjdk.java.net> Changeset: ee8b292ee568 Author: weijun Date: 2013-09-18 18:22 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ee8b292ee568 8012615: Realm.getRealmsList returns realms list in wrong Reviewed-by: valeriep, xuelei ! src/share/classes/sun/security/krb5/Config.java ! src/share/classes/sun/security/krb5/Realm.java ! src/share/classes/sun/security/krb5/internal/CredentialsUtil.java ! test/sun/security/krb5/ParseCAPaths.java ! test/sun/security/krb5/krb5-capaths.conf From alan.bateman at oracle.com Wed Sep 18 06:18:05 2013 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Wed, 18 Sep 2013 13:18:05 +0000 Subject: hg: jdk8/tl/jdk: 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx) Message-ID: <20130918131836.525DC62904@hg.openjdk.java.net> Changeset: e92635d6834c Author: alanb Date: 2013-09-18 14:10 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e92635d6834c 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx) Reviewed-by: alanb, coffeys Contributed-by: nmaurer at redhat.com, alan.bateman at oracle.com ! src/solaris/classes/sun/nio/ch/DevPollArrayWrapper.java ! src/solaris/classes/sun/nio/ch/EPollArrayWrapper.java ! src/solaris/classes/sun/nio/ch/EventPortWrapper.java ! test/java/nio/channels/Selector/LotsOfChannels.java ! test/java/nio/channels/Selector/SelectorLimit.java From weijun.wang at oracle.com Wed Sep 18 06:39:51 2013 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Wed, 18 Sep 2013 13:39:51 +0000 Subject: hg: jdk8/tl/jdk: 8011402: Move blacklisting certificate logic from hard code to data Message-ID: <20130918134014.5492762907@hg.openjdk.java.net> Changeset: 07d73060e0da Author: weijun Date: 2013-09-18 21:37 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/07d73060e0da 8011402: Move blacklisting certificate logic from hard code to data Reviewed-by: erikj, mullan ! make/java/security/Makefile ! makefiles/CopyFiles.gmk ! src/share/classes/java/security/cert/Certificate.java ! src/share/classes/sun/security/util/UntrustedCertificates.java ! src/share/classes/sun/security/x509/X509CertImpl.java + src/share/lib/security/BlacklistedCertsConverter.java + src/share/lib/security/blacklisted.certs + src/share/lib/security/blacklisted.certs.pem + test/lib/security/CheckBlacklistedCerts.java From chris.hegarty at oracle.com Wed Sep 18 07:13:40 2013 From: chris.hegarty at oracle.com (chris.hegarty at oracle.com) Date: Wed, 18 Sep 2013 14:13:40 +0000 Subject: hg: jdk8/tl/jdk: 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win] Message-ID: <20130918141403.6FA616290A@hg.openjdk.java.net> Changeset: b3a506a30fda Author: ewang Date: 2013-09-18 15:13 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b3a506a30fda 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win] Reviewed-by: chegar, alanb ! test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java From jonathan.gibbons at oracle.com Thu Sep 19 08:27:11 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Thu, 19 Sep 2013 15:27:11 +0000 Subject: hg: jdk8/tl/langtools: 8024609: sjavac assertion fails during call to BuildState.collectArtifacts Message-ID: <20130919152713.F295A62959@hg.openjdk.java.net> Changeset: 0cfd5baa7154 Author: ohrstrom Date: 2013-09-19 08:26 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/0cfd5baa7154 8024609: sjavac assertion fails during call to BuildState.collectArtifacts Reviewed-by: jjg ! src/share/classes/com/sun/tools/sjavac/BuildState.java ! src/share/classes/com/sun/tools/sjavac/Main.java ! src/share/classes/com/sun/tools/sjavac/server/JavacServer.java From xueming.shen at oracle.com Thu Sep 19 10:04:13 2013 From: xueming.shen at oracle.com (xueming.shen at oracle.com) Date: Thu, 19 Sep 2013 17:04:13 +0000 Subject: hg: jdk8/tl/jdk: 8023113: tools/jar/ChangeDir.java fails if /tmp/a exists Message-ID: <20130919170439.772EB6296B@hg.openjdk.java.net> Changeset: 278873b2b3f8 Author: sherman Date: 2013-09-19 10:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/278873b2b3f8 8023113: tools/jar/ChangeDir.java fails if /tmp/a exists Summary: updated the test case Reviewed-by: alanb ! test/tools/jar/ChangeDir.java From martinrb at google.com Thu Sep 19 10:17:27 2013 From: martinrb at google.com (Martin Buchholz) Date: Thu, 19 Sep 2013 10:17:27 -0700 Subject: Classload of sun.nio.ch.Net fails - regression in jdk7u25 Message-ID: Hi, this is a bug report. Here is a tiny program that does class loading: public class LoadClass { public static void main(String[] args) throws Throwable { for (String className : args) Class.forName(className, true, null); } } If I run this against 1.7.0_21, it succeeds, but if I run it against 1.7.0_25 I get java LoadClass sun.nio.ch.Net Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.Net.isExclusiveBindAvailable()I at sun.nio.ch.Net.isExclusiveBindAvailable(Native Method) at sun.nio.ch.Net.(Net.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) sun.nio.ch.Net clearly tries to prevent this from happening by calling Util.load(), but the problem is that the static block is called too late. Those static blocks calling Util.load() need to be at the top of each source file instead of the bottom, to prevent such failures. Regression was introduced with this changeset: changeset: 6272:8dd8266a2f4b user: khazra date: Thu Mar 14 13:54:32 2013 -0700 summary: 7170730: Improve Windows network stack support. I think Oracle testing folks should regularly run the above little program against every single class in the JDK (although it might be too expensive to run in a jtreg test). The fix is obvious, but I can provide a webrev if desired. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130919/6abe6824/attachment.html From vicente.romero at oracle.com Thu Sep 19 12:59:14 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Thu, 19 Sep 2013 19:59:14 +0000 Subject: hg: jdk8/tl/langtools: 8024437: Inferring the exception thrown: sometimes fails to compile Message-ID: <20130919195922.15E2A62998@hg.openjdk.java.net> Changeset: 2375ce96e80d Author: vromero Date: 2013-09-19 20:57 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/2375ce96e80d 8024437: Inferring the exception thrown: sometimes fails to compile Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Flags.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java + test/tools/javac/T8024437/ExceptionInferenceFromClassFileTest.java From sean.coffey at oracle.com Thu Sep 19 13:21:58 2013 From: sean.coffey at oracle.com (=?ISO-8859-1?Q?Se=E1n_Coffey?=) Date: Thu, 19 Sep 2013 21:21:58 +0100 Subject: RFR : 8024952 : ClassCastException in PlainSocketImpl.accept() when using custom socketImpl Message-ID: <523B5CE6.6090605@oracle.com> Looking for review on recently reported issue. Issue seen on windows when a custom socketImpl is in use. bug report : https://bugs.openjdk.java.net/browse/JDK-8024952 webrev : http://cr.openjdk.java.net/~coffeys/webrev.8024952/webrev/ Regards, Sean. From paul.sandoz at oracle.com Thu Sep 19 17:54:57 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Fri, 20 Sep 2013 00:54:57 +0000 Subject: hg: jdk8/tl/jdk: 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException Message-ID: <20130920005511.4E322629AF@hg.openjdk.java.net> Changeset: f36714707c38 Author: psandoz Date: 2013-09-18 10:49 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f36714707c38 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException Reviewed-by: henryjen, alanb ! src/share/classes/java/lang/CharSequence.java ! test/java/lang/CharSequence/DefaultTest.java From jonathan.gibbons at oracle.com Thu Sep 19 19:19:30 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Fri, 20 Sep 2013 02:19:30 +0000 Subject: hg: jdk8/tl/langtools: 8025110: TreeCopier does not correctly copy LabeledStatementTree Message-ID: <20130920021934.36083629B5@hg.openjdk.java.net> Changeset: 9a75bdb249a2 Author: jjg Date: 2013-09-19 19:18 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/9a75bdb249a2 8025110: TreeCopier does not correctly copy LabeledStatementTree Reviewed-by: jjg Contributed-by: Werner Dietl ! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java From paul.sandoz at oracle.com Thu Sep 19 20:55:49 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Fri, 20 Sep 2013 03:55:49 +0000 Subject: hg: jdk8/tl/jdk: 8024405: Spliterators.spliterator should support CONCURRENT characteristic Message-ID: <20130920035602.ABB36629B9@hg.openjdk.java.net> Changeset: 0ef7ddef9de0 Author: psandoz Date: 2013-09-19 20:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0ef7ddef9de0 8024405: Spliterators.spliterator should support CONCURRENT characteristic Reviewed-by: martin ! src/share/classes/java/util/Spliterator.java ! src/share/classes/java/util/Spliterators.java ! test/java/util/Spliterator/SpliteratorCharacteristics.java ! test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java From staffan.larsen at oracle.com Fri Sep 20 01:15:35 2013 From: staffan.larsen at oracle.com (staffan.larsen at oracle.com) Date: Fri, 20 Sep 2013 08:15:35 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130920081633.6ECED629C8@hg.openjdk.java.net> Changeset: 58fd427b454d Author: sla Date: 2013-09-20 10:14 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/58fd427b454d 8024985: com/sun/jdi/StepTest.java failed since jdk8b107 Reviewed-by: dcubed ! test/com/sun/jdi/ExceptionEvents.java ! test/com/sun/jdi/FilterNoMatch.java ! test/com/sun/jdi/JDIScaffold.java ! test/com/sun/jdi/PopAndStepTest.java ! test/com/sun/jdi/RepStep.java ! test/com/sun/jdi/TestScaffold.java Changeset: 6a1c70e191d4 Author: sla Date: 2013-09-20 10:15 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6a1c70e191d4 8024416: TESTBUG: com/sun/jdi/MethodEntryExitEvents.java: method entry count mismatch Reviewed-by: dcubed ! test/com/sun/jdi/MethodEntryExitEvents.java From dmitry.samersoff at oracle.com Fri Sep 20 02:20:03 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Fri, 20 Sep 2013 13:20:03 +0400 Subject: RFR : 8024952 : ClassCastException in PlainSocketImpl.accept() when using custom socketImpl In-Reply-To: <523B5CE6.6090605@oracle.com> References: <523B5CE6.6090605@oracle.com> Message-ID: <523C1343.2040900@oracle.com> Sean, It might be possible to set s.fd to delegate.fd before call to impl.accept and therefore merge if instanceOf block. -Dmitry On 2013-09-20 00:21, Se?n Coffey wrote: > Looking for review on recently reported issue. Issue seen on windows > when a custom socketImpl is in use. > > bug report : https://bugs.openjdk.java.net/browse/JDK-8024952 > webrev : http://cr.openjdk.java.net/~coffeys/webrev.8024952/webrev/ > > Regards, > Sean. > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the source code. From sean.coffey at oracle.com Fri Sep 20 03:29:28 2013 From: sean.coffey at oracle.com (=?ISO-8859-1?Q?Se=E1n_Coffey?=) Date: Fri, 20 Sep 2013 11:29:28 +0100 Subject: RFR : 8024952 : ClassCastException in PlainSocketImpl.accept() when using custom socketImpl In-Reply-To: <523C1343.2040900@oracle.com> References: <523B5CE6.6090605@oracle.com> <523C1343.2040900@oracle.com> Message-ID: <523C2388.8010607@oracle.com> Dmitry, You're right. I was cautious in moving the code up but since we're pointing at FileDescriptor Objs, we should be ok. Daniel Fuchs has pointed out another issue. Null delegate being passed into impl.accept if dealing with a custom socketImpl! It should just be impl.accept(s); I'll get this corrected and tested. Thanks for pointers. Sean. On 20/09/13 10:20, Dmitry Samersoff wrote: > Sean, > > It might be possible to set s.fd to delegate.fd before call to > impl.accept and therefore merge if instanceOf block. > > -Dmitry > > On 2013-09-20 00:21, Se?n Coffey wrote: >> Looking for review on recently reported issue. Issue seen on windows >> when a custom socketImpl is in use. >> >> bug report : https://bugs.openjdk.java.net/browse/JDK-8024952 >> webrev : http://cr.openjdk.java.net/~coffeys/webrev.8024952/webrev/ >> >> Regards, >> Sean. >> > From staffan.larsen at oracle.com Fri Sep 20 07:41:13 2013 From: staffan.larsen at oracle.com (staffan.larsen at oracle.com) Date: Fri, 20 Sep 2013 14:41:13 +0000 Subject: hg: jdk8/tl/jdk: 7200277: [parfait] potential buffer overflow in npt/utf.c Message-ID: <20130920144137.2B426629D5@hg.openjdk.java.net> Changeset: 94cc251d0c45 Author: sla Date: 2013-09-20 16:40 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/94cc251d0c45 7200277: [parfait] potential buffer overflow in npt/utf.c Reviewed-by: dsamersoff, dcubed ! src/share/npt/utf.c From rob.mckenna at oracle.com Fri Sep 20 07:58:33 2013 From: rob.mckenna at oracle.com (Rob McKenna) Date: Fri, 20 Sep 2013 15:58:33 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <5233991D.8080801@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> <52334C35.7060001@oracle.com> <5233991D.8080801@oracle.com> Message-ID: <523C6299.4080008@oracle.com> After a brief discussion with Chris, we decided to revert the position of the call to lookupIfLocalAddrs so as to give the local host primacy over DNS. Latest (and hopefully last) webrev here: http://cr.openjdk.java.net/~robm/7180557/webrev.03/ -Rob On 14/09/13 00:00, Rob McKenna wrote: > Hi Bernd, > > I should have said in the context of this bug. What I meant was > removing AI_CANONNAME doesn't resolve the issue as far as Mac is > concerned. I.e. I still see the UnknownHostException. In this > particular case the hostname is not set via the hosts file. > > In the latest webrev the call to getifaddrs only occurs if getaddrinfo > fails. > > -Rob > > On 13/09/13 20:28, Bernd Eckenfels wrote: >> Am 13.09.2013, 19:32 Uhr, schrieb Rob McKenna : >>> W.r.t. the use of AI_CANONNAME, this doesn't actually make a >>> difference in the context of this fix, but is definitely something >>> that should be looked at. I'll put it on the todo list. >> >> I think it does make a difference: If you remove the CANON flag >> getaddrinfo() will not do DNS lookups when the host is configured to >> prefer the hosts file (which it should do on Linux and OSX). And so >> the platform specific lookupIfLocalhost() can be put after the >> getaddrinfo() (again). >> >> I actually think the bug "exists" on all platforms. If getaddrinfo() >> fails because neighter hosts nor DNS file finds the name this can >> happen on all platforms. I dont think it helps to add a fallback only >> on MACOSX (and there is certainly no need to prefer the fallback then). >> >> Gruss >> Bernd > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130920/058d7240/attachment.html From chris.hegarty at oracle.com Fri Sep 20 09:07:42 2013 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Fri, 20 Sep 2013 17:07:42 +0100 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <523C6299.4080008@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> <52334C35.7060001@oracle.com> <5233991D.8080801@oracle.com> <523C6299.4080008@oracle.com> Message-ID: <523C72CE.8070101@oracle.com> Looks fine to me Rob, thanks. -Chris. On 09/20/2013 03:58 PM, Rob McKenna wrote: > After a brief discussion with Chris, we decided to revert the position > of the call to lookupIfLocalAddrs so as to give the local host primacy > over DNS. > > Latest (and hopefully last) webrev here: > > http://cr.openjdk.java.net/~robm/7180557/webrev.03/ > > -Rob > > On 14/09/13 00:00, Rob McKenna wrote: >> Hi Bernd, >> >> I should have said in the context of this bug. What I meant was >> removing AI_CANONNAME doesn't resolve the issue as far as Mac is >> concerned. I.e. I still see the UnknownHostException. In this >> particular case the hostname is not set via the hosts file. >> >> In the latest webrev the call to getifaddrs only occurs if getaddrinfo >> fails. >> >> -Rob >> >> On 13/09/13 20:28, Bernd Eckenfels wrote: >>> Am 13.09.2013, 19:32 Uhr, schrieb Rob McKenna : >>>> W.r.t. the use of AI_CANONNAME, this doesn't actually make a >>>> difference in the context of this fix, but is definitely something >>>> that should be looked at. I'll put it on the todo list. >>> >>> I think it does make a difference: If you remove the CANON flag >>> getaddrinfo() will not do DNS lookups when the host is configured to >>> prefer the hosts file (which it should do on Linux and OSX). And so >>> the platform specific lookupIfLocalhost() can be put after the >>> getaddrinfo() (again). >>> >>> I actually think the bug "exists" on all platforms. If getaddrinfo() >>> fails because neighter hosts nor DNS file finds the name this can >>> happen on all platforms. I dont think it helps to add a fallback only >>> on MACOSX (and there is certainly no need to prefer the fallback then). >>> >>> Gruss >>> Bernd >> > From martinrb at google.com Fri Sep 20 10:22:39 2013 From: martinrb at google.com (Martin Buchholz) Date: Fri, 20 Sep 2013 10:22:39 -0700 Subject: Classload of sun.nio.ch.Net fails - regression in jdk7u25 In-Reply-To: References: <523B9720.8070007@oracle.com> Message-ID: So, I did the experiment I suggested: jar tf $jdk/jre/lib/rt.jar | sed -n 's/\.class$//p' | sed 's/\//./g' | while read class; do j java LoadClass $class; done and got 148 UnsatisfiedLinkErrors (a.k.a. "a rich crop of bugs") Here are the ones Alan himself may want to fix: Exception in thread "main" java.lang.UnsatisfiedLinkError: java.net.SocketInputStream.init()V at java.net.SocketInputStream.init(Native Method) at java.net.SocketInputStream.(SocketInputStream.java:47) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: java.net.SocketOutputStream.init()V at java.net.SocketOutputStream.init(Native Method) at java.net.SocketOutputStream.(SocketOutputStream.java:46) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.EPoll.eventSize()I at sun.nio.ch.EPoll.eventSize(Native Method) at sun.nio.ch.EPoll.(EPoll.java:53) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.EPollArrayWrapper.sizeofEPollEvent()I at sun.nio.ch.EPollArrayWrapper.sizeofEPollEvent(Native Method) at sun.nio.ch.EPollArrayWrapper.(EPollArrayWrapper.java:67) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.FileKey.initIDs()V at sun.nio.ch.FileKey.initIDs(Native Method) at sun.nio.ch.FileKey.(FileKey.java:73) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.KQueue.keventSize()I at sun.nio.ch.KQueue.keventSize(Native Method) at sun.nio.ch.KQueue.(KQueue.java:50) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.Net.isExclusiveBindAvailable()I at sun.nio.ch.Net.isExclusiveBindAvailable(Native Method) at sun.nio.ch.Net.(Net.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.SctpNet.init()V at sun.nio.ch.SctpNet.init(Native Method) at sun.nio.ch.SctpNet.(SctpNet.java:368) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.ch.Net.isExclusiveBindAvailable()I at sun.nio.ch.Net.isExclusiveBindAvailable(Native Method) at sun.nio.ch.Net.(Net.java:58) at sun.nio.ch.SocketOptionRegistry$LazyInitialization.options(SocketOptionRegistry.java:61) at sun.nio.ch.SocketOptionRegistry$LazyInitialization.(SocketOptionRegistry.java:57) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at LoadClass.main(LoadClass.java:4) On Thu, Sep 19, 2013 at 6:21 PM, Martin Buchholz wrote: > > > > On Thu, Sep 19, 2013 at 5:30 PM, Alan Bateman wrote: > >> Martin, >> >> I'm curious how you ran into this. > > > I'm not aware of any way to trigger this using just public APIs. > We sometimes fiddle with the internals of the JDK networking > implementation. > So it's possible that no one will run into this in a "strictly conforming" > java program. > > >> I agree this should be fixed, it's just not immediately obviously which >> APIs would cause Net to be loaded before other classes that would cause the >> native library to be loaded. I'm not aware of any bug reports so I'm >> curious if you have the original stack trace (not from the Class.forName). >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130920/dfca6a85/attachment.html From paul.sandoz at oracle.com Fri Sep 20 11:24:44 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Fri, 20 Sep 2013 18:24:44 +0000 Subject: hg: jdk8/tl/jdk: 8024253: ThreadLocal random can use SecureRandom for the initial seed Message-ID: <20130920182538.5F238629E5@hg.openjdk.java.net> Changeset: 7913855ff66c Author: psandoz Date: 2013-09-20 11:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7913855ff66c 8024253: ThreadLocal random can use SecureRandom for the initial seed Reviewed-by: psandoz, chegar, alanb Contributed-by: Doug Lea
, Peter Levart , Guy Steele ! src/share/classes/java/util/SplittableRandom.java ! src/share/classes/java/util/concurrent/ThreadLocalRandom.java ! test/java/util/concurrent/ThreadLocalRandom/ThreadLocalRandomTest.java From paul.sandoz at oracle.com Fri Sep 20 17:12:55 2013 From: paul.sandoz at oracle.com (paul.sandoz at oracle.com) Date: Sat, 21 Sep 2013 00:12:55 +0000 Subject: hg: jdk8/tl/jdk: 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec Message-ID: <20130921001330.8DC40629F5@hg.openjdk.java.net> Changeset: c30dc8e7744e Author: psandoz Date: 2013-09-20 17:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c30dc8e7744e 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec Reviewed-by: alanb ! src/share/classes/java/util/regex/Pattern.java + test/java/util/regex/PatternStreamTest.java - test/java/util/regex/PatternTest.java From dmitry.samersoff at oracle.com Sat Sep 21 04:20:15 2013 From: dmitry.samersoff at oracle.com (Dmitry Samersoff) Date: Sat, 21 Sep 2013 15:20:15 +0400 Subject: RFR: 7180557 - InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX In-Reply-To: <523C6299.4080008@oracle.com> References: <5225FDD6.7040106@oracle.com> <5228EA9F.3060700@oracle.com> <52334C35.7060001@oracle.com> <5233991D.8080801@oracle.com> <523C6299.4080008@oracle.com> Message-ID: <523D80EF.2020903@oracle.com> Rob, See below - ll. 210 have to be fixed, other comments is just an opinion. Inet4AddressImpl.c: ll.132 - it might be better to move initialization to a separate function, the same way as in Inet6 - I really like this idea. Inet6AddressImpl.c ll. 126. it's better to move static int initialized into initializeInetClasses() and don't check it ll. 282. ll. 170 it looks like rest of the code uses NI_MAXHOST also we have to check results of JVM_GetHostName if it returns -1 it's probably better to bailout immediately. ll. 193 and below - wrong indent 4) ll. 210 we can have more than one v4 address so if (addrs4 >= 1) have to be here. *. Your include ipv6 loopback in the list if interface has no ipv4 addresses, I'm not sure this logic is correct. On my opinion it's better to never include ipv6 loopbacks. *. Is it better to rename: includeLoopback => includeLoopbacks ll. 218 It might be better to calculate arraySize under if at ll. 210 to make code better readable ll. 236 It might be better to split if statement to make it more readable at the cost of duplicating iter = iter->ifa_next; line. e.g. while (iter != NULL) { ... if (family != AF_INET6 and family != AF_INET) { iter = iter->ifa_next; continue; } if ((!includeV6 and family == AF_INET6)) { iter = iter->ifa_next; continue; } if (!includeLoopback and isLoopback) { iter = iter->ifa_next; continue; } if (iter->ifa_name[0] != '\0' && iter->ifa_addr) { // Copy address to Java array .... iter = iter->ifa_next; continue; // redundant just for readability } } ll.244 I'm not sure it's good to return partially complete array in case of object allocation fail. Probably you should throw JNU_ThrowOutOfMemoryError(env, "Object allocation failed"); -Dmitry On 2013-09-20 18:58, Rob McKenna wrote: > After a brief discussion with Chris, we decided to revert the position > of the call to lookupIfLocalAddrs so as to give the local host primacy > over DNS. > > Latest (and hopefully last) webrev here: > > http://cr.openjdk.java.net/~robm/7180557/webrev.03/ > > -Rob > > On 14/09/13 00:00, Rob McKenna wrote: >> Hi Bernd, >> >> I should have said in the context of this bug. What I meant was >> removing AI_CANONNAME doesn't resolve the issue as far as Mac is >> concerned. I.e. I still see the UnknownHostException. In this >> particular case the hostname is not set via the hosts file. >> >> In the latest webrev the call to getifaddrs only occurs if getaddrinfo >> fails. >> >> -Rob >> >> On 13/09/13 20:28, Bernd Eckenfels wrote: >>> Am 13.09.2013, 19:32 Uhr, schrieb Rob McKenna : >>>> W.r.t. the use of AI_CANONNAME, this doesn't actually make a >>>> difference in the context of this fix, but is definitely something >>>> that should be looked at. I'll put it on the todo list. >>> >>> I think it does make a difference: If you remove the CANON flag >>> getaddrinfo() will not do DNS lookups when the host is configured to >>> prefer the hosts file (which it should do on Linux and OSX). And so >>> the platform specific lookupIfLocalhost() can be put after the >>> getaddrinfo() (again). >>> >>> I actually think the bug "exists" on all platforms. If getaddrinfo() >>> fails because neighter hosts nor DNS file finds the name this can >>> happen on all platforms. I dont think it helps to add a fallback only >>> on MACOSX (and there is certainly no need to prefer the fallback then). >>> >>> Gruss >>> Bernd >> > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources. From vicente.romero at oracle.com Sun Sep 22 04:56:34 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Sun, 22 Sep 2013 11:56:34 +0000 Subject: hg: jdk8/tl/langtools: 8024696: Missing null check in bound method reference capture Message-ID: <20130922115638.18B8162A1E@hg.openjdk.java.net> Changeset: 571f8ebc2d51 Author: vromero Date: 2013-09-22 12:53 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/571f8ebc2d51 8024696: Missing null check in bound method reference capture Reviewed-by: jjg, briangoetz ! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java ! test/tools/javac/lambda/8023558/T8023558a.java + test/tools/javac/lambda/methodReferenceExecution/MethodReferenceNullCheckTest.java From alan.bateman at oracle.com Sun Sep 22 20:08:55 2013 From: alan.bateman at oracle.com (alan.bateman at oracle.com) Date: Mon, 23 Sep 2013 03:08:55 +0000 Subject: hg: jdk8/tl/jdk: 8023130: (process) ProcessBuilder#inheritIO does not work on Windows Message-ID: <20130923030925.25AF462A31@hg.openjdk.java.net> Changeset: 56d247821694 Author: alanb Date: 2013-09-23 04:05 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/56d247821694 8023130: (process) ProcessBuilder#inheritIO does not work on Windows Reviewed-by: alanb, martin Contributed-by: ivan.gerasimov at oracle.com ! src/windows/native/java/lang/ProcessImpl_md.c ! test/java/lang/ProcessBuilder/Basic.java + test/java/lang/ProcessBuilder/InheritIO/InheritIO.java + test/java/lang/ProcessBuilder/InheritIO/InheritIO.sh From lana.steuck at oracle.com Sun Sep 22 20:22:28 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:22:28 +0000 Subject: hg: jdk8/tl: 13 new changesets Message-ID: <20130923032231.3535862A32@hg.openjdk.java.net> Changeset: 0874bb4707b7 Author: omajid Date: 2013-09-11 12:08 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/rev/0874bb4707b7 8024320: Add s390(x) detection to platform.m4 Reviewed-by: erikj, ihse, dsamersoff ! common/autoconf/generated-configure.sh ! common/autoconf/platform.m4 Changeset: 14fe208b657c Author: cl Date: 2013-09-12 11:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/14fe208b657c Added tag jdk8-b107 for changeset 0874bb4707b7 ! .hgtags Changeset: 4bf059350c51 Author: lana Date: 2013-09-17 08:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/4bf059350c51 Merge Changeset: 8dadd26c2a58 Author: ihse Date: 2013-09-12 10:38 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/8dadd26c2a58 8024467: Update autoconf-config.guess to autoconf 2.69 Reviewed-by: erikj ! common/autoconf/build-aux/autoconf-config.guess Changeset: 64f52ef175a4 Author: ihse Date: 2013-09-12 10:42 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/64f52ef175a4 8010185: Build should support --with-override-nashorn Reviewed-by: erikj ! common/autoconf/generated-configure.sh ! common/autoconf/source-dirs.m4 Changeset: b1e9396fb8af Author: vadim Date: 2013-09-12 12:12 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/b1e9396fb8af 8008022: Upgrade Direct X SDK used to build JDK Reviewed-by: erikj, prr, ihse ! Makefile ! README-builds.html ! common/autoconf/generated-configure.sh ! common/autoconf/spec.gmk.in ! common/autoconf/toolchain.m4 ! common/autoconf/toolchain_windows.m4 Changeset: 69da99676239 Author: ihse Date: 2013-09-13 13:07 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/69da99676239 8024620: config.log does not end up in corresponding configuration Reviewed-by: erikj ! common/autoconf/configure ! common/autoconf/configure.ac ! common/autoconf/generated-configure.sh Changeset: ac3f5137f84d Author: ihse Date: 2013-09-13 14:59 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/ac3f5137f84d 8024665: Move open changes for JDK-8020411 to closed source Reviewed-by: erikj ! common/autoconf/generated-configure.sh ! common/autoconf/platform.m4 ! common/autoconf/spec.gmk.in Changeset: aab351790498 Author: katleman Date: 2013-09-17 13:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/aab351790498 Merge Changeset: 59d6af7422af Author: katleman Date: 2013-09-17 19:06 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/59d6af7422af Merge Changeset: 7697621037fd Author: ihse Date: 2013-09-18 12:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/7697621037fd 8024815: Make --with-dxsdk and friends deprecated Reviewed-by: erikj ! common/autoconf/basics.m4 ! common/autoconf/generated-configure.sh ! common/autoconf/toolchain.m4 Changeset: 9286a6e61291 Author: ihse Date: 2013-09-18 13:49 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/rev/9286a6e61291 8024849: Don't remove upper case letters from username when setting USER_RELEASE_SUFFIX Reviewed-by: erikj ! common/autoconf/basics_windows.m4 ! common/autoconf/generated-configure.sh ! common/autoconf/jdk-options.m4 Changeset: d4762f463fe0 Author: cl Date: 2013-09-19 09:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/d4762f463fe0 Added tag jdk8-b108 for changeset 9286a6e61291 ! .hgtags From lana.steuck at oracle.com Sun Sep 22 20:22:24 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:22:24 +0000 Subject: hg: jdk8/tl/corba: 3 new changesets Message-ID: <20130923032233.85B5262A33@hg.openjdk.java.net> Changeset: 260f00a95705 Author: cl Date: 2013-09-12 11:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/260f00a95705 Added tag jdk8-b107 for changeset 23fc34133152 ! .hgtags Changeset: a4bb3b450016 Author: lana Date: 2013-09-17 08:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/a4bb3b450016 Merge Changeset: c1eb93f57603 Author: cl Date: 2013-09-19 09:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/c1eb93f57603 Added tag jdk8-b108 for changeset a4bb3b450016 ! .hgtags From lana.steuck at oracle.com Sun Sep 22 20:22:33 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:22:33 +0000 Subject: hg: jdk8/tl/jaxws: 2 new changesets Message-ID: <20130923032321.E2FEA62A34@hg.openjdk.java.net> Changeset: d1ea68556fd7 Author: cl Date: 2013-09-12 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/d1ea68556fd7 Added tag jdk8-b107 for changeset e3c9328f7563 ! .hgtags Changeset: f64b1e497722 Author: cl Date: 2013-09-19 09:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/f64b1e497722 Added tag jdk8-b108 for changeset d1ea68556fd7 ! .hgtags From lana.steuck at oracle.com Sun Sep 22 20:22:35 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:22:35 +0000 Subject: hg: jdk8/tl/jaxp: 2 new changesets Message-ID: <20130923032322.9C1AC62A35@hg.openjdk.java.net> Changeset: 8ade3eed63da Author: cl Date: 2013-09-12 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/8ade3eed63da Added tag jdk8-b107 for changeset d6a32e3831aa ! .hgtags Changeset: 21b10835b88a Author: cl Date: 2013-09-19 09:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/21b10835b88a Added tag jdk8-b108 for changeset 8ade3eed63da ! .hgtags From lana.steuck at oracle.com Sun Sep 22 20:23:07 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:23:07 +0000 Subject: hg: jdk8/tl/nashorn: 4 new changesets Message-ID: <20130923032341.1668D62A36@hg.openjdk.java.net> Changeset: a1f980cc1355 Author: cl Date: 2013-09-12 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/a1f980cc1355 Added tag jdk8-b107 for changeset f35e1255024b ! .hgtags Changeset: 445ad3f6d3b4 Author: lana Date: 2013-09-17 08:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/445ad3f6d3b4 Merge - src/jdk/nashorn/internal/runtime/arrays/ReverseScriptObjectMirrorIterator.java - src/jdk/nashorn/internal/runtime/arrays/ScriptObjectMirrorIterator.java Changeset: 6ec2f9e5ed5b Author: cl Date: 2013-09-19 09:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/6ec2f9e5ed5b Added tag jdk8-b108 for changeset 445ad3f6d3b4 ! .hgtags Changeset: 13210550765c Author: lana Date: 2013-09-20 19:17 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/13210550765c Merge From lana.steuck at oracle.com Sun Sep 22 20:23:14 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:23:14 +0000 Subject: hg: jdk8/tl/langtools: 5 new changesets Message-ID: <20130923032416.155C962A37@hg.openjdk.java.net> Changeset: 1b7f5a27c4ba Author: cl Date: 2013-09-12 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/1b7f5a27c4ba Added tag jdk8-b107 for changeset 3f274927ec18 ! .hgtags Changeset: 252f872b8a2f Author: lana Date: 2013-09-17 08:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/252f872b8a2f Merge - src/share/classes/com/sun/tools/javac/code/Annotations.java - test/tools/javac/diags/examples/CyclicInference.java - test/tools/javac/diags/examples/MrefStat.java.rej - test/tools/javac/diags/examples/MrefStat1.java.rej - test/tools/javac/lambda/TargetType10.out - test/tools/javac/lambda/typeInference/InferenceTest5.java - test/tools/javac/lambda/typeInference/InferenceTest_neg5.java - test/tools/javac/lambda/typeInference/InferenceTest_neg5.out Changeset: 8ecfe6a3ba4c Author: cl Date: 2013-09-19 09:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/8ecfe6a3ba4c Added tag jdk8-b108 for changeset 252f872b8a2f ! .hgtags Changeset: 86dd72166267 Author: lana Date: 2013-09-20 19:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/86dd72166267 Merge Changeset: 20b72bae83d7 Author: lana Date: 2013-09-22 20:20 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/20b72bae83d7 Merge From lana.steuck at oracle.com Sun Sep 22 20:24:02 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:24:02 +0000 Subject: hg: jdk8/tl/hotspot: 69 new changesets Message-ID: <20130923032734.CF61262A38@hg.openjdk.java.net> Changeset: c169f7038414 Author: amurillo Date: 2013-08-30 00:29 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c169f7038414 8024022: new hotspot build - hs25-b49 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 4a1efab850f4 Author: shade Date: 2013-08-26 17:42 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4a1efab850f4 8023638: Add the regression test for 8006997 Summary: Add the relevant test and proofread the VM messages as well Reviewed-by: coleenp, mseledtsov, dcubed ! src/share/vm/runtime/arguments.cpp + test/runtime/contended/Options.java Changeset: a7d8baf4cca7 Author: dcubed Date: 2013-08-26 18:34 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a7d8baf4cca7 Merge Changeset: 91b93f523ec6 Author: acorn Date: 2013-08-26 11:35 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/91b93f523ec6 8012294: remove generic handling for default methods Reviewed-by: kamg, coleenp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/defaultMethods.cpp - src/share/vm/classfile/genericSignatures.cpp - src/share/vm/classfile/genericSignatures.hpp ! src/share/vm/runtime/globals.hpp Changeset: d80493ee6430 Author: acorn Date: 2013-08-27 01:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d80493ee6430 Merge - src/share/vm/classfile/genericSignatures.cpp - src/share/vm/classfile/genericSignatures.hpp ! src/share/vm/runtime/globals.hpp Changeset: 6b3ac96bada6 Author: jiangli Date: 2013-08-26 13:32 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6b3ac96bada6 8023477: Invalid CP index when reading ConstantPool. Summary: Need to check for 0 case for InstanceKlass::_generic_signature_index. Reviewed-by: sspitsyn, sla ! agent/src/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java Changeset: b3596321fbf4 Author: jiangli Date: 2013-08-27 04:58 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b3596321fbf4 Merge Changeset: 7e7dd25666da Author: ccheung Date: 2013-08-26 14:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7e7dd25666da 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error Summary: removed offending EXCEPTION_MARK calls and code cleanup Reviewed-by: dholmes, iklam, coleenp, mseledtsov ! src/share/vm/classfile/classLoader.cpp ! src/share/vm/classfile/classLoader.hpp + test/runtime/LoadClass/LoadClassNegative.java + test/runtime/LoadClass/TestForName.java + test/runtime/LoadClass/dummy.jar Changeset: 5351fe805c12 Author: minqi Date: 2013-08-27 07:54 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5351fe805c12 Merge Changeset: f462e61bce87 Author: iklam Date: 2013-08-26 21:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f462e61bce87 8020622: create.bat on Windows failed to create project file for Visual Studio 2012 Summary: Treat VS2012 the same as VS2010. Reviewed-by: dcubed, kamg, minqi ! make/windows/create.bat ! make/windows/makefiles/rules.make Changeset: 35471dcba316 Author: iklam Date: 2013-08-27 03:35 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/35471dcba316 Merge Changeset: c26d57fa08aa Author: iklam Date: 2013-08-27 16:02 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c26d57fa08aa Merge Changeset: 915cc4f3fb15 Author: acorn Date: 2013-08-28 08:15 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/915cc4f3fb15 8020489: VM crash when non-existent interface called by invokespecial Reviewed-by: kamg, coleenp ! src/share/vm/classfile/defaultMethods.cpp Changeset: cc56f122f3f7 Author: sla Date: 2013-08-29 11:05 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cc56f122f3f7 8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X Reviewed-by: dholmes, rbackman ! src/os/posix/vm/os_posix.cpp Changeset: 76482cbba706 Author: hseigel Date: 2013-08-29 10:33 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/76482cbba706 8016764: JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v 52.0 Summary: Check cfv before allowing invokespecial call to default method. Reviewed-by: kamg, acorn, dholmes ! src/share/vm/classfile/verifier.cpp Changeset: dfc126b2f659 Author: hseigel Date: 2013-08-29 13:44 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/dfc126b2f659 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35 Summary: lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue. Reviewed-by: coleenp, twisti, dholmes Contributed-by: lois.foltan at oracle.com ! make/bsd/makefiles/gcc.make Changeset: d8e99408faad Author: dsamersoff Date: 2013-08-29 21:48 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d8e99408faad 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 Summary: don't re-evaluate stack bounds for main thread before install guard page Reviewed-by: coleenp, dholmes, dlong ! src/os/linux/vm/os_linux.cpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp + test/runtime/InitialThreadOverflow/DoOverflow.java + test/runtime/InitialThreadOverflow/invoke.cxx + test/runtime/InitialThreadOverflow/testme.sh Changeset: cef1e56a4d88 Author: dsamersoff Date: 2013-08-29 21:46 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cef1e56a4d88 Merge Changeset: 9758d9f36299 Author: coleenp Date: 2013-08-29 18:56 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9758d9f36299 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced Summary: declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung Contributed-by: lois.foltan at oracle.com ! src/share/vm/adlc/arena.cpp ! src/share/vm/adlc/arena.hpp ! src/share/vm/adlc/main.cpp ! src/share/vm/asm/codeBuffer.hpp ! src/share/vm/c1/c1_Compilation.hpp ! src/share/vm/c1/c1_Instruction.hpp ! src/share/vm/code/codeBlob.cpp ! src/share/vm/code/codeBlob.hpp ! src/share/vm/code/debugInfoRec.cpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/code/relocInfo.hpp ! src/share/vm/code/vtableStubs.cpp ! src/share/vm/code/vtableStubs.hpp ! src/share/vm/gc_implementation/shared/gcUtil.hpp ! src/share/vm/libadt/port.hpp ! src/share/vm/memory/allocation.cpp ! src/share/vm/memory/allocation.hpp ! src/share/vm/memory/allocation.inline.hpp ! src/share/vm/memory/memRegion.cpp ! src/share/vm/memory/memRegion.hpp ! src/share/vm/oops/klass.cpp ! src/share/vm/oops/klass.hpp ! src/share/vm/oops/symbol.cpp ! src/share/vm/oops/symbol.hpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/type.hpp ! src/share/vm/runtime/fprofiler.cpp ! src/share/vm/runtime/handles.cpp ! src/share/vm/runtime/handles.hpp ! src/share/vm/runtime/interfaceSupport.hpp ! src/share/vm/runtime/objectMonitor.hpp ! src/share/vm/runtime/park.cpp ! src/share/vm/runtime/park.hpp ! src/share/vm/runtime/thread.hpp ! src/share/vm/services/memRecorder.hpp ! src/share/vm/services/memTrackWorker.cpp ! src/share/vm/services/memTrackWorker.hpp ! src/share/vm/utilities/array.hpp Changeset: c636758ea616 Author: dcubed Date: 2013-08-30 07:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c636758ea616 Merge ! src/os/posix/vm/os_posix.cpp - src/share/vm/classfile/genericSignatures.cpp - src/share/vm/classfile/genericSignatures.hpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp Changeset: 522d69638aa8 Author: zgu Date: 2013-08-30 11:54 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/522d69638aa8 6991327: using -Xprof trigger native memory leak Summary: Fixed a memory leak in FlatProfiler::record_thread_tick() method Reviewed-by: dholmes, ccheung ! src/share/vm/runtime/fprofiler.cpp Changeset: 491de79915eb Author: zgu Date: 2013-08-30 12:22 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/491de79915eb Merge ! src/share/vm/runtime/fprofiler.cpp Changeset: ac2764460da7 Author: zgu Date: 2013-08-30 13:38 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ac2764460da7 Merge Changeset: ca0501b58953 Author: hseigel Date: 2013-08-30 15:07 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ca0501b58953 8024050: Incorrect optimization level and comment specified for unsafe.cpp Summary: Fix comments and optimization level. Reviewed-by: rdurbin, coleenp, hseigel Contributed-by: lois.foltan at oracle.com ! make/bsd/makefiles/gcc.make Changeset: d8ff06fb87ae Author: hseigel Date: 2013-08-30 15:15 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d8ff06fb87ae Merge Changeset: abff50660360 Author: hseigel Date: 2013-08-30 15:57 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/abff50660360 Merge Changeset: 3a1df0dce3e5 Author: acorn Date: 2013-08-30 15:15 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3a1df0dce3e5 8023872: Verification error in generated lambda classes Summary: skip verification for generated lambda classes Reviewed-by: kamg, dholmes ! src/share/vm/classfile/verifier.cpp ! src/share/vm/runtime/globals.hpp Changeset: 735f94656acc Author: acorn Date: 2013-08-30 12:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/735f94656acc Merge Changeset: 2918c7e21a3a Author: acorn Date: 2013-08-30 15:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2918c7e21a3a Merge Changeset: 35b99e7e0af2 Author: hseigel Date: 2013-09-01 10:37 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/35b99e7e0af2 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java Summary: Improve handling when CDS archive cannot be mapped Reviewed-by: kvn, dholmes, mseledtsov ! src/share/vm/memory/filemap.cpp ! test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java ! test/runtime/CDSCompressedKPtrs/XShareAuto.java ! test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java Changeset: 766fac3395d6 Author: kvn Date: 2013-08-23 11:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/766fac3395d6 8012972: Incremental Inlining should support scalar replaced object in debug info Summary: store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value Reviewed-by: roland, twisti ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/opto/callnode.cpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/generateOptoStub.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/node.cpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/output.cpp Changeset: b17d8f6d9ed7 Author: kvn Date: 2013-08-23 18:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b17d8f6d9ed7 8023472: C2 optimization breaks with G1 Summary: set control edge for previous value load in G1 pre-barrier Reviewed-by: twisti ! src/share/vm/opto/graphKit.cpp + test/compiler/gcbarriers/G1CrashTest.java Changeset: f98f5d48f511 Author: roland Date: 2013-08-21 13:34 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f98f5d48f511 7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked Summary: Do patching rather bailing out for unlinked call with appendix Reviewed-by: twisti, kvn ! src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_Runtime1_sparc.cpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/cpu/x86/vm/c1_Runtime1_x86.cpp ! src/share/vm/c1/c1_CodeStubs.hpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_LIR.hpp ! src/share/vm/c1/c1_LIRAssembler.cpp ! src/share/vm/c1/c1_LIRAssembler.hpp ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/c1/c1_Runtime1.hpp ! src/share/vm/c1/c1_globals.cpp ! src/share/vm/c1/c1_globals.hpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/ci/ciObjectFactory.cpp ! src/share/vm/ci/ciObjectFactory.hpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals_extension.hpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: e1fbb86b47e4 Author: roland Date: 2013-08-26 16:12 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e1fbb86b47e4 8016277: Crash in nmethod::is_compiled_by_c1() on x86 Summary: Method pointer for zombie methods may be invalid Reviewed-by: kvn, coleenp ! src/share/vm/code/nmethod.cpp Changeset: e47de6dfec5d Author: vlivanov Date: 2013-08-26 17:37 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e47de6dfec5d 8022456: LogCompilation tool does not work with C1 output again Reviewed-by: kvn ! src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/CallSite.java ! src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java ! src/share/vm/c1/c1_Compilation.cpp Changeset: 74608df95ba3 Author: vlivanov Date: 2013-08-26 17:41 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/74608df95ba3 8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives Reviewed-by: kvn, coleenp, dholmes ! src/share/vm/runtime/thread.cpp + test/compiler/jsr292/ConcurrentClassLoadingTest.java Changeset: 022415fe638e Author: vlivanov Date: 2013-08-26 21:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/022415fe638e Merge Changeset: 59982ff9e0ec Author: rbackman Date: 2013-08-20 09:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/59982ff9e0ec 8022283: Assertion failed: assert(is_loaded() && field->holder()->is_loaded() && klass()->is_subclass_of (field->holder())) failed: invalid access Reviewed-by: roland, twisti ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/ci/ciInstance.cpp Changeset: 58e010ab2d06 Author: rbackman Date: 2013-08-27 19:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/58e010ab2d06 Merge Changeset: 650868c062a9 Author: adlertz Date: 2013-08-26 12:50 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/650868c062a9 8023691: Create interface for nodes in class Block Summary: Create public methods for accessing the nodes in a block Reviewed-by: kvn, roland ! src/share/vm/adlc/output_c.cpp ! src/share/vm/opto/block.cpp ! src/share/vm/opto/block.hpp ! src/share/vm/opto/buildOopMap.cpp ! src/share/vm/opto/chaitin.cpp ! src/share/vm/opto/coalesce.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/domgraph.cpp ! src/share/vm/opto/gcm.cpp ! src/share/vm/opto/idealGraphPrinter.cpp ! src/share/vm/opto/ifg.cpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/live.cpp ! src/share/vm/opto/output.cpp ! src/share/vm/opto/phaseX.cpp ! src/share/vm/opto/postaloc.cpp ! src/share/vm/opto/reg_split.cpp Changeset: 7181dd13a6c4 Author: adlertz Date: 2013-08-27 21:16 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7181dd13a6c4 Merge Changeset: 29aa8936f03c Author: kvn Date: 2013-08-28 11:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/29aa8936f03c 8023597: Optimize G1 barriers code for unsafe load_store Summary: Avoid loading old values in G1 pre-barriers for inlined unsafe load_store nodes. Reviewed-by: kvn, tonyp Contributed-by: Martin Doerr ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp Changeset: 8947af8a9cec Author: vlivanov Date: 2013-08-29 22:44 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8947af8a9cec 8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check Reviewed-by: kvn, twisti ! src/share/vm/oops/method.cpp ! src/share/vm/oops/method.hpp Changeset: 4b078f877b56 Author: adlertz Date: 2013-09-01 19:21 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4b078f877b56 8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG) Summary: Moved local scheduling code from class Block to class PhaseCFG Reviewed-by: kvn, roland ! src/share/vm/opto/block.cpp ! src/share/vm/opto/block.hpp ! src/share/vm/opto/coalesce.cpp ! src/share/vm/opto/gcm.cpp ! src/share/vm/opto/lcm.cpp Changeset: 40ed2dc92a79 Author: adlertz Date: 2013-09-01 19:52 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/40ed2dc92a79 Merge Changeset: 27ffd1c4537b Author: rbackman Date: 2013-09-02 13:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/27ffd1c4537b Merge ! src/share/vm/runtime/thread.cpp Changeset: a9a968364704 Author: adlertz Date: 2013-09-02 22:44 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a9a968364704 8024095: Missing brackets in local scheduling code. Summary: Added brackets for if-statement Reviewed-by: kvn, roland ! src/share/vm/opto/lcm.cpp Changeset: 3bfb204913de Author: adlertz Date: 2013-09-05 10:39 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3bfb204913de Merge ! src/share/vm/code/nmethod.cpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/node.hpp Changeset: 88c255656030 Author: mgerdin Date: 2013-08-22 10:50 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/88c255656030 8016155: SIGBUS when running Kitchensink with ParallelScavenge and ParallelOld Summary: When using NUMA and large pages we need to ease the requirement on which node the memory should be allocated on. To avoid the SIGBUS we now use the memory policy MPOL_PREFERRED, which prefers a certain node, instead of MPOL_BIND, which requires a certain node. Reviewed-by: jmasa, pliden Contributed-by: stefan.johansson at oracle.com ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp Changeset: 0d59407e7e09 Author: jmasa Date: 2013-08-29 06:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/0d59407e7e09 Merge ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp Changeset: 84683e78e713 Author: brutisso Date: 2013-08-30 07:31 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/84683e78e713 8019902: G1: Use the average heap size rather than the minimum heap size to calculate the region size Reviewed-by: tonyp, tschatzl, sjohanss ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: f175e3678be2 Author: ehelin Date: 2013-08-22 11:23 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f175e3678be2 8020692: TestGCEventMixed.java failed because of timestamp in event after end event Reviewed-by: mgerdin, stefank ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/shared/gcTraceSend.cpp Changeset: a701c16e8bbf Author: jmasa Date: 2013-09-04 11:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a701c16e8bbf 8013938: Native OOME on fastdebug VM on Solaris Reviewed-by: azeemj, brutisso, kvn, tschatzl ! src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp Changeset: 428025878417 Author: jmasa Date: 2013-09-04 12:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/428025878417 Merge Changeset: bb57d48691f5 Author: tschatzl Date: 2013-09-05 14:15 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/bb57d48691f5 Merge ! src/os/linux/vm/os_linux.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp Changeset: 50794d8ac11c Author: amurillo Date: 2013-09-06 11:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/50794d8ac11c Merge - src/share/vm/classfile/genericSignatures.cpp - src/share/vm/classfile/genericSignatures.hpp Changeset: 5b7f90aab3ad Author: amurillo Date: 2013-09-06 11:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5b7f90aab3ad Added tag hs25-b49 for changeset 50794d8ac11c ! .hgtags Changeset: 9cd0183fe325 Author: cl Date: 2013-09-12 11:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9cd0183fe325 Added tag jdk8-b107 for changeset 5b7f90aab3ad ! .hgtags Changeset: 313b724f8911 Author: amurillo Date: 2013-09-06 11:11 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/313b724f8911 8024258: new hotspot build - hs25-b50 Reviewed-by: jcoomes ! make/hotspot_version Changeset: ceda33ff54a3 Author: iignatyev Date: 2013-09-05 16:38 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ceda33ff54a3 8012447: Java CTW implementation Reviewed-by: vlivanov, kvn, twisti ! test/gc/TestVerifyDuringStartup.java ! test/testlibrary/com/oracle/java/testlibrary/JDKToolFinder.java + test/testlibrary/ctw/Makefile + test/testlibrary/ctw/README + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ClassPathDirEntry.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ClassPathJarEntry.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ClassPathJarInDirEntry.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ClassesListInFile.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/CompileTheWorld.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/Compiler.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/PathHandler.java + test/testlibrary/ctw/src/sun/hotspot/tools/ctw/Utils.java + test/testlibrary/ctw/test/Bar.java + test/testlibrary/ctw/test/ClassesDirTest.java + test/testlibrary/ctw/test/ClassesListTest.java + test/testlibrary/ctw/test/CtwTest.java + test/testlibrary/ctw/test/Foo.java + test/testlibrary/ctw/test/JarDirTest.java + test/testlibrary/ctw/test/JarsTest.java + test/testlibrary/ctw/test/classes.lst + test/testlibrary/whitebox/Makefile Changeset: cd16d587b0fa Author: adlertz Date: 2013-09-09 19:53 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cd16d587b0fa Merge Changeset: 72a567cce06f Author: anoll Date: 2013-09-10 07:51 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/72a567cce06f 8024473: Remove unused macro: IRT_ENTRY_FOR_NMETHOD Summary: Removed unused macro Reviewed-by: kvn, adlertz ! src/share/vm/runtime/interfaceSupport.hpp Changeset: edb5ab0f3fe5 Author: vlivanov Date: 2013-09-10 14:51 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/edb5ab0f3fe5 8001107: @Stable annotation for constant folding of lazily evaluated variables Reviewed-by: rbackman, twisti, kvn Contributed-by: john.r.rose at oracle.com, vladimir.x.ivanov at oracle.com ! src/share/vm/ci/ciArray.cpp ! src/share/vm/ci/ciArray.hpp ! src/share/vm/ci/ciConstant.hpp ! src/share/vm/ci/ciField.cpp ! src/share/vm/ci/ciField.hpp ! src/share/vm/ci/ciFlags.hpp ! src/share/vm/ci/ciInstance.cpp ! src/share/vm/ci/ciTypeArray.cpp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/classFileParser.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/oops/fieldInfo.hpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/opto/parse3.cpp ! src/share/vm/opto/type.cpp ! src/share/vm/opto/type.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/accessFlags.hpp Changeset: e0d33d2ce5aa Author: vlivanov Date: 2013-09-10 15:28 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e0d33d2ce5aa Merge Changeset: 34bd5e86aadb Author: adlertz Date: 2013-09-11 09:34 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/34bd5e86aadb 8010941: MinJumpTableSize is set to 18, investigate if that's still optimal Summary: Lowered the MinJumpTableSize for each platform Reviewed-by: kvn ! src/cpu/sparc/vm/c2_globals_sparc.hpp ! src/cpu/x86/vm/c2_globals_x86.hpp ! src/share/vm/opto/c2_globals.hpp Changeset: 0821b5d72ca8 Author: adlertz Date: 2013-09-12 09:10 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/0821b5d72ca8 Merge Changeset: a09fe9d1e016 Author: amurillo Date: 2013-09-13 00:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a09fe9d1e016 Merge Changeset: 85072013aad4 Author: amurillo Date: 2013-09-13 00:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/85072013aad4 Added tag hs25-b50 for changeset a09fe9d1e016 ! .hgtags Changeset: 34aa07e92d22 Author: cl Date: 2013-09-19 09:36 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/34aa07e92d22 Added tag jdk8-b108 for changeset 85072013aad4 ! .hgtags From lana.steuck at oracle.com Sun Sep 22 20:25:02 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Mon, 23 Sep 2013 03:25:02 +0000 Subject: hg: jdk8/tl/jdk: 21 new changesets Message-ID: <20130923033058.3588C62A39@hg.openjdk.java.net> Changeset: eea685b9ccaa Author: amurillo Date: 2013-09-10 05:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/eea685b9ccaa 8024515: ProblemList.txt updates to exclude tests that fail with hs25-b49 Reviewed-by: alanb, chegar ! test/ProblemList.txt Changeset: b67c8099ba28 Author: cl Date: 2013-09-12 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b67c8099ba28 Added tag jdk8-b107 for changeset eea685b9ccaa ! .hgtags Changeset: 12ac08d79c9b Author: vadim Date: 2013-08-23 14:13 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/12ac08d79c9b 8023052: JVM crash in native layout Reviewed-by: bae, prr ! src/share/native/sun/font/layout/SunLayoutEngine.cpp Changeset: b5c5cff52455 Author: lana Date: 2013-08-28 08:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b5c5cff52455 Merge Changeset: 7da90f645a63 Author: jgodinez Date: 2013-08-30 09:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7da90f645a63 8017469: [macosx] Printing problem using ja and zh_CN locales Reviewed-by: prr, jchen ! src/macosx/native/sun/awt/CTextPipe.m Changeset: dc09174469ef Author: prr Date: 2013-08-30 10:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/dc09174469ef 4673406: RFE: Java Printing: Provide a way to display win32 printer driver's dialog Reviewed-by: jgodinez, bae + src/share/classes/sun/print/DocumentPropertiesUI.java + src/share/classes/sun/print/PrinterJobWrapper.java ! src/share/classes/sun/print/RasterPrinterJob.java ! src/share/classes/sun/print/ServiceDialog.java ! src/windows/classes/sun/awt/windows/WPrinterJob.java ! src/windows/classes/sun/print/Win32MediaTray.java ! src/windows/classes/sun/print/Win32PrintService.java ! src/windows/native/sun/windows/awt_PrintControl.cpp ! src/windows/native/sun/windows/awt_PrintControl.h ! src/windows/native/sun/windows/awt_PrintJob.cpp Changeset: 2114b624bf63 Author: ceisserer Date: 2013-09-01 09:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2114b624bf63 7189452: XRender pipeline does ignore source-surface offset for text rendering Reviewed-by: prr, bae ! src/solaris/classes/sun/font/XRTextRenderer.java ! src/solaris/classes/sun/java2d/xr/XRBackendNative.java ! src/solaris/classes/sun/java2d/xr/XRCompositeManager.java ! src/solaris/native/sun/java2d/x11/XRBackendNative.c Changeset: a07c907a82b5 Author: bae Date: 2013-09-04 12:10 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a07c907a82b5 7043064: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly Reviewed-by: prr, vadim ! make/sun/cmm/lcms/mapfile-vers ! makefiles/mapfiles/liblcms/mapfile-vers ! src/share/classes/java/awt/color/ICC_Profile.java ! src/share/classes/java/awt/color/ICC_ProfileGray.java ! src/share/classes/java/awt/color/ICC_ProfileRGB.java ! src/share/classes/sun/java2d/cmm/CMSManager.java ! src/share/classes/sun/java2d/cmm/PCMM.java + src/share/classes/sun/java2d/cmm/Profile.java ! src/share/classes/sun/java2d/cmm/lcms/LCMS.java + src/share/classes/sun/java2d/cmm/lcms/LCMSProfile.java ! src/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java ! src/share/native/sun/java2d/cmm/lcms/LCMS.c ! test/sun/java2d/cmm/ProfileOp/ReadWriteProfileTest.java Changeset: c561115d697d Author: ceisserer Date: 2013-09-04 12:38 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c561115d697d 7159455: Nimbus scrollbar rendering glitch with xrender enabled on i945GM Reviewed-by: prr, bae ! src/solaris/classes/sun/java2d/xr/XRPMBlitLoops.java Changeset: 0a317fc785fb Author: ceisserer Date: 2013-09-05 11:50 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0a317fc785fb 8024261: xrender: improve performance of small fillRect operations Reviewed-by: prr, bae ! src/solaris/classes/sun/java2d/xr/XRCompositeManager.java Changeset: 2d223e1a9706 Author: lana Date: 2013-09-06 18:25 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2d223e1a9706 Merge - src/share/classes/sun/misc/Compare.java - src/share/classes/sun/misc/Sort.java Changeset: 08296c2d4c68 Author: bae Date: 2013-09-10 21:54 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/08296c2d4c68 8024511: Crash during color profile destruction Reviewed-by: vadim, prr ! src/share/native/sun/java2d/cmm/lcms/LCMS.c + test/sun/java2d/cmm/ProfileOp/DisposalCrashTest.java Changeset: 1579407c0a82 Author: bae Date: 2013-09-13 20:28 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1579407c0a82 8024697: Fix for 8020983 causes Xcheck:jni warnings Reviewed-by: prr, jchen ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c ! test/javax/imageio/plugins/jpeg/JpegWriterLeakTest.java Changeset: da6cd0247b27 Author: lana Date: 2013-09-17 08:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/da6cd0247b27 Merge Changeset: ebc44e50df79 Author: lana Date: 2013-09-17 08:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ebc44e50df79 Merge - src/share/classes/java/util/stream/CloseableStream.java - src/share/classes/java/util/stream/DelegatingStream.java ! test/ProblemList.txt - test/java/util/Collection/ListDefaults.java - test/java/util/Map/CheckRandomHashSeed.java - test/java/util/Map/TreeBinSplitBackToEntries.java - test/java/util/concurrent/ConcurrentHashMap/toArray.java - test/sun/tools/jconsole/ImmutableResourceTest.java - test/sun/tools/jconsole/ImmutableResourceTest.sh Changeset: 5063b43d7e09 Author: vadim Date: 2013-09-12 12:12 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5063b43d7e09 8008022: Upgrade Direct X SDK used to build JDK Reviewed-by: erikj, prr, ihse ! make/Makefile ! make/common/Defs-windows.gmk ! make/common/Sanity.gmk ! make/common/shared/Defs-versions.gmk ! make/common/shared/Defs-windows.gmk ! make/common/shared/Sanity-Settings.gmk ! make/common/shared/Sanity.gmk ! make/javax/sound/jsoundds/Makefile ! make/jdk_generic_profile.sh ! make/netbeans/awt2d/README ! make/sun/awt/Makefile ! make/sun/jawt/Makefile ! makefiles/CompileNativeLibraries.gmk Changeset: 5da2bb1419e6 Author: katleman Date: 2013-09-17 13:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5da2bb1419e6 Merge Changeset: 006aaa5f069e Author: katleman Date: 2013-09-17 19:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/006aaa5f069e Merge ! makefiles/CompileNativeLibraries.gmk Changeset: a7dd84b9557c Author: cl Date: 2013-09-19 09:37 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a7dd84b9557c Added tag jdk8-b108 for changeset 006aaa5f069e ! .hgtags Changeset: a3b17b91127d Author: lana Date: 2013-09-20 19:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a3b17b91127d Merge Changeset: f1b251affc6a Author: lana Date: 2013-09-22 20:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f1b251affc6a Merge From jonathan.gibbons at oracle.com Tue Sep 24 10:49:33 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 24 Sep 2013 17:49:33 +0000 Subject: hg: jdk8/tl/langtools: 8025050: Doclint doesn't recognize tag Message-ID: <20130924174953.ED0AE62A94@hg.openjdk.java.net> Changeset: 96dcb66e6b0a Author: jjg Date: 2013-09-24 10:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/96dcb66e6b0a 8025050: Doclint doesn't recognize tag Reviewed-by: bpatel ! src/share/classes/com/sun/tools/doclint/HtmlTag.java ! test/tools/doclint/html/InlineTagsTest.java From jonathan.gibbons at oracle.com Tue Sep 24 10:52:23 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 24 Sep 2013 17:52:23 +0000 Subject: hg: jdk8/tl/langtools: 8025246: [doclint] doclint is showing error on anchor already defined when it's not Message-ID: <20130924175229.55D0662A95@hg.openjdk.java.net> Changeset: 503338f16d2b Author: jjg Date: 2013-09-24 10:51 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/503338f16d2b 8025246: [doclint] doclint is showing error on anchor already defined when it's not Reviewed-by: bpatel ! src/share/classes/com/sun/tools/doclint/Checker.java + test/tools/doclint/anchorTests/p/Test.java + test/tools/doclint/anchorTests/p/Test.javac.out + test/tools/doclint/anchorTests/p/Test.out + test/tools/doclint/anchorTests/p/package-info.java + test/tools/doclint/anchorTests/p/package-info.javac.out + test/tools/doclint/anchorTests/p/package-info.out From jonathan.gibbons at oracle.com Tue Sep 24 11:47:51 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 24 Sep 2013 18:47:51 +0000 Subject: hg: jdk8/tl/langtools: 8025272: doclint needs to check for valid usage of @value tag Message-ID: <20130924184800.C64EE62A96@hg.openjdk.java.net> Changeset: 6a05a713450d Author: jjg Date: 2013-09-24 11:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/6a05a713450d 8025272: doclint needs to check for valid usage of @value tag Reviewed-by: bpatel ! src/share/classes/com/sun/tools/doclint/Checker.java ! src/share/classes/com/sun/tools/doclint/resources/doclint.properties + test/tools/doclint/ValueTest.java + test/tools/doclint/ValueTest.out From jonathan.gibbons at oracle.com Tue Sep 24 13:49:33 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Tue, 24 Sep 2013 20:49:33 +0000 Subject: hg: jdk8/tl/langtools: 8002154: [doclint] doclint should check for issues which are errors in javadoc Message-ID: <20130924204946.D794562AA4@hg.openjdk.java.net> Changeset: 3ae62331a56f Author: jjg Date: 2013-09-24 13:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/3ae62331a56f 8002154: [doclint] doclint should check for issues which are errors in javadoc Reviewed-by: bpatel ! src/share/classes/com/sun/tools/doclint/Checker.java ! src/share/classes/com/sun/tools/doclint/resources/doclint.properties ! test/tools/doclint/ReferenceTest.java ! test/tools/doclint/ReferenceTest.out From daniel.fuchs at oracle.com Wed Sep 25 00:49:27 2013 From: daniel.fuchs at oracle.com (daniel.fuchs at oracle.com) Date: Wed, 25 Sep 2013 07:49:27 +0000 Subject: hg: jdk8/tl/jdk: 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout Message-ID: <20130925074953.D674C62AC5@hg.openjdk.java.net> Changeset: 76619d71a7c5 Author: dfuchs Date: 2013-09-25 09:47 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/76619d71a7c5 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout Summary: Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout. Reviewed-by: alanb, mchung ! test/java/util/logging/Logger/getGlobal/TestGetGlobal.java ! test/java/util/logging/Logger/getGlobal/TestGetGlobalByName.java ! test/java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java From jonathan.gibbons at oracle.com Wed Sep 25 11:08:24 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Wed, 25 Sep 2013 18:08:24 +0000 Subject: hg: jdk8/tl/langtools: 8025407: TypeAnnotations does not use Context Message-ID: <20130925180828.BE24762ADE@hg.openjdk.java.net> Changeset: 5043e7056be8 Author: jjg Date: 2013-09-25 11:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/5043e7056be8 8025407: TypeAnnotations does not use Context Reviewed-by: jfranck ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java From jonathan.gibbons at oracle.com Wed Sep 25 14:05:14 2013 From: jonathan.gibbons at oracle.com (jonathan.gibbons at oracle.com) Date: Wed, 25 Sep 2013 21:05:14 +0000 Subject: hg: jdk8/tl/langtools: 8025412: Add legal header and comments to test/tools/doclint/tidy/util/Main.java Message-ID: <20130925210517.1495A62AF2@hg.openjdk.java.net> Changeset: 3d61984b077c Author: jjg Date: 2013-09-25 14:04 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/3d61984b077c 8025412: Add legal header and comments to test/tools/doclint/tidy/util/Main.java Reviewed-by: bpatel ! test/tools/doclint/tidy/util/Main.java ! test/tools/doclint/tidy/util/tidy.sh From vicente.romero at oracle.com Thu Sep 26 11:13:22 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Thu, 26 Sep 2013 18:13:22 +0000 Subject: hg: jdk8/tl/langtools: 8025139: javac patch for using bootstrap compiler for debugging is not working properly Message-ID: <20130926181325.2903762B1B@hg.openjdk.java.net> Changeset: 13eba2e322e6 Author: vromero Date: 2013-09-26 19:06 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/13eba2e322e6 8025139: javac patch for using bootstrap compiler for debugging is not working properly Reviewed-by: jjg ! make/netbeans/langtools/build.xml ! make/tools/anttasks/SelectToolTask.java From mike.duigou at oracle.com Thu Sep 26 13:42:58 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Thu, 26 Sep 2013 20:42:58 +0000 Subject: hg: jdk8/tl/jdk: 8025173: HashMap.put() replacing an existing key can trigger a resize() Message-ID: <20130926204334.E7EF062B45@hg.openjdk.java.net> Changeset: 8f27030686a6 Author: bchristi Date: 2013-09-26 11:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8f27030686a6 8025173: HashMap.put() replacing an existing key can trigger a resize() Summary: Ensure that HashMap is not resized if we're just replacing a value Reviewed-by: alanb, martin ! src/share/classes/java/util/HashMap.java + test/java/util/HashMap/ReplaceExisting.java From weijun.wang at oracle.com Fri Sep 27 00:26:26 2013 From: weijun.wang at oracle.com (weijun.wang at oracle.com) Date: Fri, 27 Sep 2013 07:26:26 +0000 Subject: hg: jdk8/tl/jdk: 8024861: Incomplete token triggers GSS-API NullPointerException Message-ID: <20130927072638.0BB3562B5B@hg.openjdk.java.net> Changeset: eb2c81533876 Author: weijun Date: 2013-09-27 15:25 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/eb2c81533876 8024861: Incomplete token triggers GSS-API NullPointerException Reviewed-by: mullan ! src/share/classes/sun/security/jgss/spnego/SpNegoContext.java + test/sun/security/jgss/spnego/MechTokenMissing.java From vicente.romero at oracle.com Fri Sep 27 02:26:11 2013 From: vicente.romero at oracle.com (vicente.romero at oracle.com) Date: Fri, 27 Sep 2013 09:26:11 +0000 Subject: hg: jdk8/tl/langtools: 8024497: crash returning this-referencing lambda from default method Message-ID: <20130927092617.CEFEC62B66@hg.openjdk.java.net> Changeset: 16194509e483 Author: vromero Date: 2013-09-27 10:24 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/16194509e483 8024497: crash returning this-referencing lambda from default method Reviewed-by: jjg, rfield ! src/share/classes/com/sun/tools/javac/code/Symbol.java + test/tools/javac/lambda/8024497/CrashUsingReturningThisRefLambdaFromDefaultMetTest.java From jan.lahoda at oracle.com Fri Sep 27 08:29:51 2013 From: jan.lahoda at oracle.com (jan.lahoda at oracle.com) Date: Fri, 27 Sep 2013 15:29:51 +0000 Subject: hg: jdk8/tl/langtools: 8022765: Compiler crashes with exception on wrong usage of an annotation. Message-ID: <20130927152958.F257962B87@hg.openjdk.java.net> Changeset: b7d8b71e1658 Author: jlahoda Date: 2013-09-27 17:28 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b7d8b71e1658 8022765: Compiler crashes with exception on wrong usage of an annotation. Summary: Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately Reviewed-by: jfranck, jjg ! src/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/annotations/neg/8022765/T8022765.java + test/tools/javac/annotations/neg/8022765/T8022765.out + test/tools/javac/annotations/neg/8022765/VerifyAnnotationsAttributed.java From mike.duigou at oracle.com Fri Sep 27 10:26:58 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 27 Sep 2013 17:26:58 +0000 Subject: hg: jdk8/tl/jdk: 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826) Message-ID: <20130927172710.5675162B96@hg.openjdk.java.net> Changeset: 914f8d4570df Author: mduigou Date: 2013-09-27 10:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/914f8d4570df 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826) Reviewed-by: alanb, chegar, dholmes, ksrini ! makefiles/CompileJavaClasses.gmk ! makefiles/CreateJars.gmk ! makefiles/Profiles.gmk ! makefiles/profile-includes.txt ! test/java/util/TreeMap/Clone.java From mike.duigou at oracle.com Fri Sep 27 11:35:29 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 27 Sep 2013 18:35:29 +0000 Subject: hg: jdk8/tl/langtools: 8024842: Define ABS_TEST_OUTPUT_DIR via TEST_OUTPUT_DIR Message-ID: <20130927183536.6095762BA1@hg.openjdk.java.net> Changeset: 4ed8565fa536 Author: mduigou Date: 2013-09-27 11:34 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/4ed8565fa536 8024842: Define ABS_TEST_OUTPUT_DIR via TEST_OUTPUT_DIR Reviewed-by: ihse, erikj, vromero ! test/Makefile From mike.duigou at oracle.com Fri Sep 27 13:31:38 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Fri, 27 Sep 2013 20:31:38 +0000 Subject: hg: jdk8/tl/jdk: 2 new changesets Message-ID: <20130927203206.3B6C762BA9@hg.openjdk.java.net> Changeset: fbe6f5dbb24f Author: mduigou Date: 2013-09-27 13:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fbe6f5dbb24f 8023339: Refined Collection.removeIf UOE conditions Reviewed-by: mduigou Contributed-by: paul.sandoz at oracle.com ! src/share/classes/java/util/Collection.java ! test/java/util/Collection/MOAT.java Changeset: 91222be67b27 Author: mduigou Date: 2013-09-27 13:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/91222be67b27 8023340: Clarify that unmodifiable List.replaceAll() may not throw UOE if there are no items to be replaced. Reviewed-by: psandoz, jjg ! src/share/classes/java/util/List.java From kumar.x.srinivasan at oracle.com Fri Sep 27 16:25:21 2013 From: kumar.x.srinivasan at oracle.com (kumar.x.srinivasan at oracle.com) Date: Fri, 27 Sep 2013 23:25:21 +0000 Subject: hg: jdk8/tl/langtools: 8015073: c.s.t.javac.api.JavacTool.getTask() - more informative exception Message-ID: <20130927232538.DAAE862BB1@hg.openjdk.java.net> Changeset: 82044fe8c7f7 Author: ksrini Date: 2013-09-27 16:05 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/82044fe8c7f7 8015073: c.s.t.javac.api.JavacTool.getTask() - more informative exception Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/api/JavacTool.java ! test/tools/javac/api/TestJavacTask.java From dan.xu at oracle.com Fri Sep 27 17:09:49 2013 From: dan.xu at oracle.com (dan.xu at oracle.com) Date: Sat, 28 Sep 2013 00:09:49 +0000 Subject: hg: jdk8/tl/jdk: 8025128: File.createTempFile fails if prefix is absolute path Message-ID: <20130928001019.1189862BB6@hg.openjdk.java.net> Changeset: 754db1268be1 Author: dxu Date: 2013-09-27 17:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/754db1268be1 8025128: File.createTempFile fails if prefix is absolute path Summary: Use only the file name from the supplied prefix for backward compatibility Reviewed-by: alanb, chegar ! src/share/classes/java/io/File.java ! test/java/io/File/createTempFile/SpecialTempFile.java From mike.duigou at oracle.com Fri Sep 27 17:28:34 2013 From: mike.duigou at oracle.com (mike.duigou at oracle.com) Date: Sat, 28 Sep 2013 00:28:34 +0000 Subject: hg: jdk8/tl/jdk: 8025610: Add explicit @throws NPE documentation to Optional constructor and Optional.of Message-ID: <20130928002848.92AAC62BB7@hg.openjdk.java.net> Changeset: d921ce805abe Author: mduigou Date: 2013-09-27 17:27 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d921ce805abe 8025610: Add explicit @throws NPE documentation to Optional constructor and Optional.of Reviewed-by: briangoetz, chegar, alanb ! src/share/classes/java/util/Optional.java From lana.steuck at oracle.com Fri Sep 27 19:47:27 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:47:27 +0000 Subject: hg: jdk8/tl/corba: 2 new changesets Message-ID: <20130928024747.25EB862BBC@hg.openjdk.java.net> Changeset: 428428cf5e06 Author: tbell Date: 2013-09-25 12:22 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/428428cf5e06 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: 3d2b7ce93c5c Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/3d2b7ce93c5c Added tag jdk8-b109 for changeset 428428cf5e06 ! .hgtags From lana.steuck at oracle.com Fri Sep 27 19:47:27 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:47:27 +0000 Subject: hg: jdk8/tl: 2 new changesets Message-ID: <20130928024729.E698262BBB@hg.openjdk.java.net> Changeset: 91f47e8da5c6 Author: tbell Date: 2013-09-25 12:21 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/91f47e8da5c6 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: 0cc21882d2f6 Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/rev/0cc21882d2f6 Added tag jdk8-b109 for changeset 91f47e8da5c6 ! .hgtags From lana.steuck at oracle.com Fri Sep 27 19:48:10 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:48:10 +0000 Subject: hg: jdk8/tl/nashorn: 2 new changesets Message-ID: <20130928024833.CC1F662BBD@hg.openjdk.java.net> Changeset: d1e2050e575e Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/d1e2050e575e Added tag jdk8-b109 for changeset 6ec2f9e5ed5b ! .hgtags Changeset: 982dd6e1bf4f Author: lana Date: 2013-09-27 18:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/982dd6e1bf4f Merge From lana.steuck at oracle.com Fri Sep 27 19:47:47 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:47:47 +0000 Subject: hg: jdk8/tl/langtools: 3 new changesets Message-ID: <20130928024847.6C87E62BC0@hg.openjdk.java.net> Changeset: 985abf1cd327 Author: tbell Date: 2013-09-25 12:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/985abf1cd327 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: 6f11dc295641 Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/6f11dc295641 Added tag jdk8-b109 for changeset 985abf1cd327 ! .hgtags Changeset: 34223fc58c1a Author: lana Date: 2013-09-27 18:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/34223fc58c1a Merge From lana.steuck at oracle.com Fri Sep 27 19:47:51 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:47:51 +0000 Subject: hg: jdk8/tl/jaxp: 2 new changesets Message-ID: <20130928024835.76E8B62BBE@hg.openjdk.java.net> Changeset: 02bfab2aa938 Author: tbell Date: 2013-09-25 12:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/02bfab2aa938 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: 4c84c5b447b0 Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/4c84c5b447b0 Added tag jdk8-b109 for changeset 02bfab2aa938 ! .hgtags From lana.steuck at oracle.com Fri Sep 27 19:48:55 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:48:55 +0000 Subject: hg: jdk8/tl/jdk: 3 new changesets Message-ID: <20130928025011.4B8CA62BC1@hg.openjdk.java.net> Changeset: 946f3fd5f8bf Author: tbell Date: 2013-09-25 12:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/946f3fd5f8bf 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties ! makefiles/jprt.properties Changeset: f8c9a4b80148 Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f8c9a4b80148 Added tag jdk8-b109 for changeset 946f3fd5f8bf ! .hgtags Changeset: 0b535e920dd5 Author: lana Date: 2013-09-27 18:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0b535e920dd5 Merge From lana.steuck at oracle.com Fri Sep 27 19:48:10 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:48:10 +0000 Subject: hg: jdk8/tl/jaxws: 2 new changesets Message-ID: <20130928024840.3F8A062BBF@hg.openjdk.java.net> Changeset: df5d4d016425 Author: tbell Date: 2013-09-25 12:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/df5d4d016425 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: cc682329886b Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/cc682329886b Added tag jdk8-b109 for changeset df5d4d016425 ! .hgtags From lana.steuck at oracle.com Fri Sep 27 19:49:16 2013 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 28 Sep 2013 02:49:16 +0000 Subject: hg: jdk8/tl/hotspot: 77 new changesets Message-ID: <20130928025220.B5BB662BC2@hg.openjdk.java.net> Changeset: e42e456fbe6e Author: amurillo Date: 2013-09-13 00:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e42e456fbe6e 8024764: new hotspot build - hs25-b51 Reviewed-by: jcoomes ! make/hotspot_version Changeset: baa7927dfbd2 Author: zgu Date: 2013-09-04 08:55 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/baa7927dfbd2 8022798: "assert(seq > 0) failed: counter overflow" in Kitchensink Summary: Removed incorrect assertion, sequence number can overflow Reviewed-by: dholmes, kamg ! src/share/vm/services/memPtr.cpp Changeset: 38f750491293 Author: iklam Date: 2013-09-06 08:42 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/38f750491293 8022335: Native stack walk while generating hs_err does not work on Windows x64 Summary: Use WinDbg API StackWalk64() Reviewed-by: zgu, dholmes ! src/os/windows/vm/decoder_windows.cpp ! src/os/windows/vm/decoder_windows.hpp ! src/os_cpu/windows_x86/vm/os_windows_x86.cpp ! src/os_cpu/windows_x86/vm/os_windows_x86.hpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/frame.hpp ! src/share/vm/runtime/os.hpp ! src/share/vm/utilities/decoder.cpp ! src/share/vm/utilities/decoder.hpp ! src/share/vm/utilities/vmError.cpp ! src/share/vm/utilities/vmError.hpp Changeset: 592520c14121 Author: kevinw Date: 2013-09-09 10:01 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/592520c14121 8023478: Test fails with HS crash in GCNotifier. Reviewed-by: sla ! src/share/vm/services/gcNotifier.cpp Changeset: b6767a18b379 Author: hseigel Date: 2013-09-09 14:44 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b6767a18b379 8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures Summary: Add checks for duplicates and issue errors when detected. Reviewed-by: coleenp, zgu ! src/share/vm/classfile/classFileParser.cpp Changeset: 0f648fbe4404 Author: dsamersoff Date: 2013-09-11 14:30 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/0f648fbe4404 8024056: runtime/InitialThreadOverflow/testme.sh fails Summary: on some macines gcc not able to link cxx program Reviewed-by: dholmes ! test/runtime/InitialThreadOverflow/testme.sh Changeset: 1c6b721a3fbf Author: dsamersoff Date: 2013-09-12 15:53 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1c6b721a3fbf 8022617: Openjdk hotspot build is broken on BSD platforms using gcc Summary: Enforce of preprocessing of all assembly sources by assembler-with-cpp Reviewed-by: dholmes, erikj ! make/bsd/makefiles/gcc.make Changeset: 225cedaf9a4b Author: zgu Date: 2013-09-13 10:34 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/225cedaf9a4b Merge ! src/share/vm/classfile/classFileParser.cpp Changeset: 623d923529df Author: mgronlun Date: 2013-09-13 17:47 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/623d923529df 8021353: Event based tracing is missing thread exit Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin ! src/share/vm/runtime/thread.cpp ! src/share/vm/trace/traceMacros.hpp Changeset: b89a1a870965 Author: mgronlun Date: 2013-09-13 19:20 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b89a1a870965 Merge ! src/share/vm/runtime/thread.cpp Changeset: ff8a09595db3 Author: sspitsyn Date: 2013-09-13 12:46 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ff8a09595db3 8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed Summary: Handle pending exceptions instead of firing a guarantee() Reviewed-by: coleenp, dholmes Contributed-by: serguei.spitsyn at oracle.com ! src/share/vm/prims/jvmtiRedefineClasses.cpp Changeset: ce5ee9de50ce Author: sspitsyn Date: 2013-09-13 12:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ce5ee9de50ce 8024345: 'assert(_value != NULL) failed: resolving NULL _value' from VM_RedefineClasses::set_new_constant_pool Summary: The OOME's in the JVMTI merge_cp_and_rewrite and set_new_constant_pool must be handled correctly Reviewed-by: coleenp, dholmes Contributed-by: serguei.spitsyn at oracle.com ! src/share/vm/prims/jvmtiRedefineClasses.cpp Changeset: 0d3ff4d36a31 Author: sspitsyn Date: 2013-09-13 12:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/0d3ff4d36a31 8024346: ~CautiouslyPreserveExceptionMark - assert(!_thread->has_pending_exception()) failed: unexpected exception generated Summary: Pending exceptions must be handled properly after a call to the JVMTI merge_cp_and_rewrite Reviewed-by: coleenp, dholmes Contributed-by: serguei.spitsyn at oracle.com ! src/share/vm/prims/jvmtiRedefineClasses.cpp Changeset: b135b600a66c Author: sspitsyn Date: 2013-09-13 16:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b135b600a66c Merge Changeset: 2e6938dd68f2 Author: dholmes Date: 2013-09-16 07:38 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2e6938dd68f2 6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock Summary: Associate CLOCK_MONOTONIC with the pthread_cond_t objects used for relative timed waits Reviewed-by: dcubed, shade ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp Changeset: 4472884d8b37 Author: dcubed Date: 2013-09-16 12:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4472884d8b37 6986195: correctly identify Ubuntu as the operating system in crash report instead of "Debian" Summary: Cleanup and document how various Linux release info files are used by print_distro_info(). Reviewed-by: dcubed, dsamersoff, coleenp, iklam, omajid Contributed-by: gerald.thornbrugh at oracle.com ! src/os/linux/vm/os_linux.cpp Changeset: 42863137168c Author: acorn Date: 2013-09-16 17:57 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/42863137168c 8024647: Default method resolution with private superclass method Reviewed-by: kamg, minqi ! src/share/vm/classfile/defaultMethods.cpp Changeset: 921967020b3b Author: acorn Date: 2013-09-16 15:24 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/921967020b3b Merge Changeset: 621eda7235d2 Author: minqi Date: 2013-09-16 15:35 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/621eda7235d2 7164841: Improvements to the GC log file rotation Summary: made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name. Reviewed-by: ccheung, tschatzl, tamao, zgu Contributed-by: yumin.qi at oracle.com ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/utilities/ostream.cpp ! src/share/vm/utilities/ostream.hpp Changeset: 535973ddf22c Author: minqi Date: 2013-09-16 18:39 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/535973ddf22c Merge Changeset: 88d6b9a1c27c Author: mseledtsov Date: 2013-09-17 20:09 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/88d6b9a1c27c 8016029: test runtime/6878713/Test6878713.sh failed Summary: Rewrote test in Java; updated the test condition to reflect latest changes in the source Reviewed-by: dholmes, ctornqvi - test/runtime/6878713/Test6878713.sh - test/runtime/6878713/testcase.jar + test/runtime/ClassFile/OomWhileParsingRepeatedJsr.java + test/runtime/ClassFile/testcase.jar Changeset: 6f45933aef35 Author: mseledtsov Date: 2013-09-17 20:20 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6f45933aef35 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test Summary: Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory Reviewed-by: dcubed, dholmes, ccheung - test/runtime/7020373/Test7020373.sh - test/runtime/7020373/testcase.jar + test/runtime/ClassFile/JsrRewriting.java + test/runtime/ClassFile/JsrRewritingTestCase.jar Changeset: 41e6ae9f6dd7 Author: zgu Date: 2013-09-18 12:52 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/41e6ae9f6dd7 Merge - test/runtime/6878713/Test6878713.sh - test/runtime/6878713/testcase.jar - test/runtime/7020373/Test7020373.sh - test/runtime/7020373/testcase.jar Changeset: 8e94527f601e Author: bpittore Date: 2013-09-11 20:03 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8e94527f601e 8024007: Misc. cleanup of static agent code Summary: Minor cleanup of static agent code from 8014135 Reviewed-by: dcubed, sspitsyn ! src/os/windows/vm/os_windows.cpp ! src/share/vm/prims/jvmti.xml ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/thread.cpp Changeset: de88570fabfc Author: dholmes Date: 2013-09-11 00:38 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/de88570fabfc 8024256: Minimal VM build is broken with PCH disabled Reviewed-by: coleenp, twisti ! make/excludeSrc.make ! src/share/vm/gc_implementation/shared/allocationStats.hpp ! src/share/vm/gc_implementation/shared/hSpaceCounters.hpp ! src/share/vm/memory/binaryTreeDictionary.cpp ! src/share/vm/utilities/yieldingWorkgroup.hpp Changeset: 4c9d415db1c5 Author: dholmes Date: 2013-09-11 23:49 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4c9d415db1c5 Merge Changeset: b1491b0303ee Author: bdelsart Date: 2013-09-13 07:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b1491b0303ee Merge Changeset: 10efeefa6485 Author: dholmes Date: 2013-09-13 21:36 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/10efeefa6485 8024505: [TESTBUG] update test groups for additional tests that can't run on the minimal VM Reviewed-by: coleenp, hseigel ! test/TEST.groups Changeset: cc5b40a76049 Author: bdelsart Date: 2013-09-18 21:47 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/cc5b40a76049 Merge ! src/share/vm/runtime/thread.cpp Changeset: 7944aba7ba41 Author: ehelin Date: 2013-08-12 17:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7944aba7ba41 8015107: NPG: Use consistent naming for metaspace concepts Reviewed-by: coleenp, mgerdin, hseigel ! agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java ! agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp ! src/cpu/sparc/vm/macroAssembler_sparc.cpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/sparc/vm/vtableStubs_sparc.cpp ! src/cpu/x86/vm/c1_FrameMap_x86.hpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp ! src/cpu/x86/vm/c1_MacroAssembler_x86.cpp ! src/cpu/x86/vm/macroAssembler_x86.cpp ! src/cpu/x86/vm/vtableStubs_x86_64.cpp ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspace.hpp ! src/share/vm/memory/metaspaceCounters.cpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/oops/arrayOop.hpp ! src/share/vm/oops/instanceOop.hpp ! src/share/vm/oops/oop.inline.hpp ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/connode.cpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/live.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/type.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/services/memoryPool.cpp ! src/share/vm/services/memoryService.cpp + test/gc/arguments/TestCompressedClassFlags.java - test/gc/metaspace/ClassMetaspaceSizeInJmapHeap.java + test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java ! test/gc/metaspace/TestMetaspaceMemoryPool.java ! test/gc/metaspace/TestMetaspacePerfCounters.java ! test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java ! test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrsError.java ! test/runtime/CompressedOops/CompressedKlassPointerAndOops.java Changeset: 440edcf30231 Author: mgerdin Date: 2013-09-11 08:57 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/440edcf30231 8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47 Summary: The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past. Reviewed-by: sla, jmasa Contributed-by: stefan.johansson at oracle.com ! agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdAddress.java Changeset: f7bc2ab5f659 Author: tschatzl Date: 2013-09-11 10:14 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f7bc2ab5f659 8016825: Large pages for the heap broken on Windows for compressed oops Summary: Correctly pass the requested base address for the heap to the OS function to reserve memory. Reviewed-by: brutisso, stefank ! src/os/windows/vm/os_windows.cpp Changeset: ff218fdb30ba Author: tschatzl Date: 2013-09-11 10:19 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ff218fdb30ba 8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs Summary: Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps. Reviewed-by: tonyp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp + test/gc/TestObjectAlignment.java Changeset: 040895ec3920 Author: tschatzl Date: 2013-09-11 12:03 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/040895ec3920 Merge Changeset: 24e87613ee58 Author: mgerdin Date: 2013-09-11 09:37 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/24e87613ee58 8009561: NPG: Metaspace fragmentation when retiring a Metachunk Summary: Use best-fit block-splitting freelist allocation from the block freelist. Reviewed-by: jmasa, stefank ! src/share/vm/memory/metaspace.cpp Changeset: 6608fa23708f Author: mgerdin Date: 2013-09-11 06:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6608fa23708f Merge Changeset: 40136aa2cdb1 Author: tschatzl Date: 2013-09-11 16:25 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/40136aa2cdb1 8010722: assert: failed: heap size is too big for compressed oops Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation. Reviewed-by: stefank, dholmes ! src/os/bsd/vm/os_bsd.cpp ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp ! src/share/vm/memory/collectorPolicy.cpp ! src/share/vm/memory/collectorPolicy.hpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/memory/universe.cpp ! src/share/vm/prims/whitebox.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/thread.cpp + test/gc/arguments/TestUseCompressedOopsErgo.java + test/gc/arguments/TestUseCompressedOopsErgoTools.java ! test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Changeset: b82260e84582 Author: tschatzl Date: 2013-09-11 18:47 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b82260e84582 Merge Changeset: d6c266999345 Author: ehelin Date: 2013-09-12 10:15 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d6c266999345 8023476: Metaspace capacity > reserved Reviewed-by: stefank, hseigel, mgerdin ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspace.hpp ! src/share/vm/memory/metaspaceCounters.cpp Changeset: c4c768305a8f Author: stefank Date: 2013-09-12 10:15 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c4c768305a8f 8024638: Count and expose the amount of committed memory in the metaspaces Reviewed-by: brutisso, ehelin ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspace.hpp ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/virtualspace.cpp ! src/share/vm/runtime/virtualspace.hpp Changeset: 335b388c4b28 Author: stefank Date: 2013-09-13 22:21 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/335b388c4b28 8024651: Remove the incorrect usage of Metablock::overhead() Reviewed-by: brutisso, mgerdin, coleenp, jmasa ! src/share/vm/memory/metablock.cpp ! src/share/vm/memory/metablock.hpp ! src/share/vm/memory/metaspace.cpp Changeset: 9e11762cee52 Author: stefank Date: 2013-09-13 22:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9e11762cee52 8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize Reviewed-by: jwilhelm, brutisso, tschatzl ! src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp ! src/share/vm/memory/collectorPolicy.cpp + test/gc/metaspace/TestMetaspaceSizeFlags.java ! test/testlibrary/OutputAnalyzerTest.java ! test/testlibrary/com/oracle/java/testlibrary/OutputAnalyzer.java Changeset: 8227700da288 Author: stefank Date: 2013-09-13 22:23 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8227700da288 8024751: Fix bugs in TraceMetadata Reviewed-by: jmasa, brutisso ! src/share/vm/memory/metaspace.cpp Changeset: 8c5e6482cbfc Author: stefank Date: 2013-09-13 22:25 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8c5e6482cbfc 8024752: Log TraceMetadata* output to gclog_or_tty instead of tty Reviewed-by: brutisso, mgerdin, coleenp ! src/share/vm/memory/metaspace.cpp ! src/share/vm/runtime/virtualspace.cpp ! src/share/vm/runtime/virtualspace.hpp Changeset: 9cb63cd234a0 Author: shade Date: 2013-09-13 07:57 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9cb63cd234a0 8024671: G1 generates assert error messages in product builds Reviewed-by: brutisso, tschatzl ! src/share/vm/gc_implementation/g1/g1CardCounts.cpp ! src/share/vm/gc_implementation/g1/g1CardCounts.hpp Changeset: 884ed7a10f09 Author: tschatzl Date: 2013-09-16 09:41 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/884ed7a10f09 Merge ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/type.cpp ! src/share/vm/runtime/globals.hpp Changeset: 23ae5a04724d Author: tschatzl Date: 2013-09-16 10:20 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/23ae5a04724d 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages Summary: Loosen wrong assert for UseParallelOldGC to UseParallelGC Reviewed-by: stefank, brutisso ! src/share/vm/memory/universe.cpp + test/gc/arguments/TestAlignmentToUseLargePages.java Changeset: f9b58dbeab91 Author: tschatzl Date: 2013-09-16 13:32 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f9b58dbeab91 Merge Changeset: 17deed6716af Author: tschatzl Date: 2013-09-17 12:04 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/17deed6716af 8024914: Swapped usage of idx_t and bm_word_t types in bitMap.inline.hpp Summary: Incorrect usage of idx_t where bm_word_t is appropriate. Reviewed-by: tschatzl, brutisso Contributed-by: Dan Horak ! src/share/vm/utilities/bitMap.inline.hpp Changeset: 5767996b7b7b Author: jwilhelm Date: 2013-09-17 14:02 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5767996b7b7b 8024884: Test name changed, test list not updated Summary: Updated the test list with the new test name. Reviewed-by: brutisso, ehelin ! test/TEST.groups Changeset: fac394091d73 Author: jwilhelm Date: 2013-09-18 00:08 +0000 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/fac394091d73 Merge Changeset: 73d0d0218068 Author: ehelin Date: 2013-09-17 20:59 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/73d0d0218068 8024718: Metaspace performance counters and memory pools should report the same data Reviewed-by: stefank, dholmes, coleenp ! src/share/vm/memory/metaspaceCounters.cpp ! src/share/vm/memory/metaspaceCounters.hpp ! src/share/vm/services/memoryPool.cpp ! src/share/vm/services/memoryPool.hpp ! src/share/vm/services/memoryUsage.hpp ! test/gc/metaspace/TestMetaspaceMemoryPool.java ! test/gc/metaspace/TestMetaspacePerfCounters.java + test/gc/metaspace/TestPerfCountersAndMemoryPools.java ! test/testlibrary/com/oracle/java/testlibrary/InputArguments.java Changeset: 2f426063daea Author: tschatzl Date: 2013-09-18 10:02 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2f426063daea 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile. Summary: Fix compilation error and use of an outdated VM option in the test Reviewed-by: stefank, jwilhelm ! test/gc/arguments/TestUseCompressedOopsErgoTools.java Changeset: 9044964f9163 Author: tschatzl Date: 2013-09-18 13:18 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9044964f9163 8024669: Native OOME when allocating after changes to maximum heap supporting Coops sizing on sparcv9 Summary: After changes in 8010722 the ergonomics for calculating the size of the heap that supports zero based compressed oops changed. This lead to the VM actually using zero based compressed oops. Due to low default HeapBaseMinAddress, the OS mapping in the application image at the same address, and limitations of the malloc implementation on Solaris this resulted in very little C heap available for the VM. So the VM immediately gives a native OOME when the machine has lots of physical memory (>=32G). The solution is to increase the HeapBaseMinAddress so that the VM has enough C heap. Reviewed-by: kvn, brutisso ! src/os_cpu/solaris_sparc/vm/globals_solaris_sparc.hpp Changeset: 719e886d4f72 Author: tschatzl Date: 2013-09-18 15:59 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/719e886d4f72 Merge Changeset: 06ae47d9d088 Author: tschatzl Date: 2013-09-19 09:26 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/06ae47d9d088 Merge ! src/os/linux/vm/os_linux.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/thread.cpp - test/gc/metaspace/ClassMetaspaceSizeInJmapHeap.java Changeset: 179cd89fb279 Author: tschatzl Date: 2013-09-19 09:34 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/179cd89fb279 Merge ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/thread.cpp ! test/TEST.groups Changeset: 8c83625e3a53 Author: adlertz Date: 2013-09-12 23:13 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8c83625e3a53 8024646: Remove LRG_List container, replace it with GrowableArray Summary: We already have GrowableArray, use it instead of LRG_List Reviewed-by: kvn ! src/share/vm/opto/chaitin.cpp ! src/share/vm/opto/chaitin.hpp ! src/share/vm/opto/coalesce.hpp ! src/share/vm/opto/live.cpp ! src/share/vm/opto/live.hpp Changeset: 3a4e6c929bf3 Author: twisti Date: 2013-09-12 14:53 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/3a4e6c929bf3 8024275: During CTW: assert(sig_bt[member_arg_pos] == T_OBJECT) failed: dispatch argument must be an object Reviewed-by: kvn, vlivanov ! src/share/vm/classfile/classLoader.cpp Changeset: 591b49112612 Author: twisti Date: 2013-09-12 18:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/591b49112612 Merge Changeset: 01b268b3080a Author: vlivanov Date: 2013-09-13 04:16 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/01b268b3080a 8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log) Reviewed-by: twisti, kvn, sla ! src/share/tools/LogCompilation/README ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/ostream.cpp Changeset: 69f26e8e09f9 Author: twisti Date: 2013-09-13 16:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/69f26e8e09f9 8024760: add more types, fields and constants to VMStructs Reviewed-by: kvn, coleenp ! agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java ! src/share/vm/gc_implementation/g1/ptrQueue.hpp ! src/share/vm/gc_implementation/g1/vmStructs_g1.hpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/oops/klassVtable.hpp ! src/share/vm/oops/methodData.hpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/vmStructs.cpp Changeset: ae3e68933caf Author: adlertz Date: 2013-09-17 05:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ae3e68933caf Merge ! src/share/vm/runtime/arguments.cpp Changeset: 22194f27fbfb Author: ctornqvi Date: 2013-09-17 16:55 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/22194f27fbfb 8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk Summary: Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk Reviewed-by: dholmes, hseigel ! test/TEST.groups ! test/gc/TestVerifyDuringStartup.java ! test/testlibrary/com/oracle/java/testlibrary/JDKToolFinder.java Changeset: 2c98370f2611 Author: ctornqvi Date: 2013-09-17 23:12 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2c98370f2611 Merge Changeset: 6d7eba360ba4 Author: anoll Date: 2013-09-17 08:39 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/6d7eba360ba4 8024128: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation Summary: Increase interpreter size for x86 template interpreter Reviewed-by: kvn, iveresov ! src/cpu/x86/vm/templateInterpreter_x86.hpp Changeset: a4788ba67e20 Author: adlertz Date: 2013-09-17 16:07 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a4788ba67e20 Merge Changeset: b2e698d2276c Author: drchase Date: 2013-09-13 22:38 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/b2e698d2276c 8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation Summary: Enhance method resolution and resulting data structures, plus some refactoring. Reviewed-by: twisti, acorn, jrose ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/ci/ciField.cpp ! src/share/vm/ci/ciField.hpp ! src/share/vm/ci/ciInstanceKlass.cpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciSymbol.hpp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/code/compiledIC.cpp ! src/share/vm/code/vtableStubs.cpp ! src/share/vm/code/vtableStubs.hpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/interpreter/linkResolver.hpp ! src/share/vm/oops/constantPool.cpp ! src/share/vm/oops/constantPool.hpp ! src/share/vm/oops/cpCache.cpp ! src/share/vm/oops/cpCache.hpp ! src/share/vm/oops/fieldStreams.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/oops/klass.cpp ! src/share/vm/oops/klass.hpp ! src/share/vm/oops/klassVtable.cpp ! src/share/vm/oops/klassVtable.hpp ! src/share/vm/oops/method.cpp ! src/share/vm/oops/method.hpp ! src/share/vm/oops/symbol.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/jvmtiRedefineClasses.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp ! src/share/vm/runtime/fieldDescriptor.cpp ! src/share/vm/runtime/fieldDescriptor.hpp ! src/share/vm/runtime/mutexLocker.cpp ! src/share/vm/runtime/mutexLocker.hpp ! src/share/vm/runtime/reflection.cpp ! src/share/vm/runtime/reflectionUtils.hpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 67bae56fdd69 Author: jrose Date: 2013-09-17 20:48 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/67bae56fdd69 Merge Changeset: ab274453d37f Author: anoll Date: 2013-09-18 07:22 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ab274453d37f 8022883: Assertion failed: sweptCount >= flushedCount + markedCount + zombifiedCount Summary: Provide correct number of visited nmethods to Tracing Reviewed-by: kvn, iveresov ! src/share/vm/runtime/sweeper.cpp Changeset: 04cbe2026912 Author: rbackman Date: 2013-09-18 09:31 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/04cbe2026912 Merge Changeset: 2795dff62b6c Author: iveresov Date: 2013-09-18 14:10 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2795dff62b6c 8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running Summary: Move null check before klass reference materialization in checkcast Reviewed-by: kvn, roland ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Changeset: da051ce490eb Author: adlertz Date: 2013-09-19 18:01 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/da051ce490eb Merge ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/live.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/prims/jvmtiRedefineClasses.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/os.hpp ! src/share/vm/utilities/ostream.cpp ! test/TEST.groups Changeset: 566db1b0e6ef Author: amurillo Date: 2013-09-20 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/566db1b0e6ef Merge - test/gc/metaspace/ClassMetaspaceSizeInJmapHeap.java - test/runtime/6878713/Test6878713.sh - test/runtime/6878713/testcase.jar - test/runtime/7020373/Test7020373.sh - test/runtime/7020373/testcase.jar Changeset: bf13c3da3d11 Author: amurillo Date: 2013-09-20 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/bf13c3da3d11 Added tag hs25-b51 for changeset 566db1b0e6ef ! .hgtags Changeset: c81dd5393a5e Author: tbell Date: 2013-09-25 12:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c81dd5393a5e 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week Reviewed-by: ksrini, katleman ! make/jprt.properties Changeset: fff4842215d1 Author: cl Date: 2013-09-26 10:43 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/fff4842215d1 Added tag jdk8-b109 for changeset c81dd5393a5e ! .hgtags From staffan.larsen at oracle.com Mon Sep 30 03:58:55 2013 From: staffan.larsen at oracle.com (staffan.larsen at oracle.com) Date: Mon, 30 Sep 2013 10:58:55 +0000 Subject: hg: jdk8/tl/jdk: 8023492: jfr.jar gets loaded even though it's not used Message-ID: <20130930105923.23E3F62BF6@hg.openjdk.java.net> Changeset: cceaad499685 Author: sla Date: 2013-09-30 12:58 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cceaad499685 8023492: jfr.jar gets loaded even though it's not used Reviewed-by: erikj, mgronlun ! make/tools/src/build/tools/buildmetaindex/BuildMetaIndex.java From naoto.sato at oracle.com Mon Sep 30 16:16:30 2013 From: naoto.sato at oracle.com (naoto.sato at oracle.com) Date: Mon, 30 Sep 2013 23:16:30 +0000 Subject: hg: jdk8/tl/jdk: 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted Message-ID: <20130930231651.7E3BB62C1E@hg.openjdk.java.net> Changeset: b4c259743371 Author: naoto Date: 2013-09-30 16:15 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b4c259743371 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted Reviewed-by: ksrini, akhil ! src/windows/bin/cmdtoargs.c + test/tools/launcher/I18NArgTest.java
Option NameDescription