hg: jdk7/tl/jdk: 2 new changesets
Changeset: 1b5c838b8db8 Author:vinnie Date: 2011-02-04 00:33 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/1b5c838b8db8 6989705: ECC security code native code compiler warnings Reviewed-by: alanb, ohair ! src/share/native/sun/security/ec/ECC_JNI.cpp ! src/share/native/sun/security/ec/impl/ec.c ! src/share/native/sun/security/ec/impl/ec.h ! src/share/native/sun/security/ec/impl/ec2.h ! src/share/native/sun/security/ec/impl/ec2_163.c ! src/share/native/sun/security/ec/impl/ec2_193.c ! src/share/native/sun/security/ec/impl/ec2_233.c ! src/share/native/sun/security/ec/impl/ec2_aff.c ! src/share/native/sun/security/ec/impl/ec2_mont.c ! src/share/native/sun/security/ec/impl/ec_naf.c ! src/share/native/sun/security/ec/impl/ecc_impl.h ! src/share/native/sun/security/ec/impl/ecdecode.c ! src/share/native/sun/security/ec/impl/ecl-curve.h ! src/share/native/sun/security/ec/impl/ecl-exp.h ! src/share/native/sun/security/ec/impl/ecl-priv.h ! src/share/native/sun/security/ec/impl/ecl.c ! src/share/native/sun/security/ec/impl/ecl.h ! src/share/native/sun/security/ec/impl/ecl_curve.c ! src/share/native/sun/security/ec/impl/ecl_gf.c ! src/share/native/sun/security/ec/impl/ecl_mult.c ! src/share/native/sun/security/ec/impl/ecp.h ! src/share/native/sun/security/ec/impl/ecp_192.c ! src/share/native/sun/security/ec/impl/ecp_224.c ! src/share/native/sun/security/ec/impl/ecp_256.c ! src/share/native/sun/security/ec/impl/ecp_384.c ! src/share/native/sun/security/ec/impl/ecp_521.c ! src/share/native/sun/security/ec/impl/ecp_aff.c ! src/share/native/sun/security/ec/impl/ecp_jac.c ! src/share/native/sun/security/ec/impl/ecp_jm.c ! src/share/native/sun/security/ec/impl/ecp_mont.c ! src/share/native/sun/security/ec/impl/logtab.h ! src/share/native/sun/security/ec/impl/mp_gf2m-priv.h ! src/share/native/sun/security/ec/impl/mp_gf2m.c ! src/share/native/sun/security/ec/impl/mp_gf2m.h ! src/share/native/sun/security/ec/impl/mpi-config.h ! src/share/native/sun/security/ec/impl/mpi-priv.h ! src/share/native/sun/security/ec/impl/mpi.c ! src/share/native/sun/security/ec/impl/mpi.h ! src/share/native/sun/security/ec/impl/mplogic.c ! src/share/native/sun/security/ec/impl/mplogic.h ! src/share/native/sun/security/ec/impl/mpmontg.c ! src/share/native/sun/security/ec/impl/mpprime.h ! src/share/native/sun/security/ec/impl/oid.c ! src/share/native/sun/security/ec/impl/secitem.c ! src/share/native/sun/security/ec/impl/secoidt.h Changeset: fed61c2f4d14 Author:vinnie Date: 2011-02-04 00:33 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/fed61c2f4d14 Merge
hg: jdk7/tl/jdk: 6968053: (launcher) hide exceptions under certain launcher failures
Changeset: 3c1eca364cc7 Author:ksrini Date: 2011-02-03 15:41 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3c1eca364cc7 6968053: (launcher) hide exceptions under certain launcher failures Reviewed-by: mchung ! src/share/bin/java.c ! src/share/classes/sun/launcher/LauncherHelper.java ! src/share/classes/sun/launcher/resources/launcher.properties ! src/share/classes/sun/misc/VM.java ! test/tools/launcher/Arrrghs.java
hg: jdk7/tl/jdk: 7014645: Support perl style Unicode hex notation \x{...}
Changeset: 035ecca4379c Author:sherman Date: 2011-02-03 13:49 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/035ecca4379c 7014645: Support perl style Unicode hex notation \x{...} Summary: Added the construct \x{...} for Unicode hex notation support Reviewed-by: alanb, okutsu ! src/share/classes/java/util/regex/Pattern.java ! test/java/util/regex/RegExTest.java
hg: jdk7/tl/jdk: 6997561: A request for better error handling in JNDI
Changeset: 515512634eb4 Author:vinnie Date: 2011-02-03 19:09 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/515512634eb4 6997561: A request for better error handling in JNDI Reviewed-by: robm ! src/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java + test/com/sun/jndi/ldap/LdapName/EmptyNameSearch.java
Re: hg: jdk7/tl/jdk: 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache
On 02/ 3/11 05:56 PM, Jason Mehrens wrote: I understand why the previous code leaks but, why is a null value safe to use for the CCL? Is it because this code is part of the JDK (not ext classloader) or is it because no more class loading is done on that These are internal JDK implementation threads that are used to control the lifetime of persistent HTTP connections. The threads will only trigger loading of sun private classes, they will never have to load any application classes, so it is safe to set the CCL to null. thread? For 3rd party libs, should the CCL be set to null or set to the classloader of the thread's target and in the case of thread subclasses the loader of the subclass thread? It depends on the libs, for example java.util.ServiceLoader.load(Class service) is specified to use the current thread's context class loader. It is really up to the implemenation. -Chris. Thanks, Jason > From: chris.hega...@oracle.com > To: jdk7-chan...@openjdk.java.net; compiler-...@openjdk.java.net; core-libs-dev@openjdk.java.net; serviceability-...@openjdk.java.net; security-...@openjdk.java.net; net-...@openjdk.java.net > Subject: hg: jdk7/tl/jdk: 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache > Date: Thu, 3 Feb 2011 10:11:03 + > > Changeset: 3c86f24f7500 > Author: chegar > Date: 2011-02-03 10:10 + > URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3c86f24f7500 > > 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache > Reviewed-by: michaelm > > ! src/share/classes/sun/net/www/http/KeepAliveCache.java > ! src/share/classes/sun/net/www/http/KeepAliveStream.java >
RE: hg: jdk7/tl/jdk: 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache
I understand why the previous code leaks but, why is a null value safe to use for the CCL? Is it because this code is part of the JDK (not ext classloader) or is it because no more class loading is done on that thread? For 3rd party libs, should the CCL be set to null or set to the classloader of the thread's target and in the case of thread subclasses the loader of the subclass thread? Thanks, Jason > From: chris.hega...@oracle.com > To: jdk7-chan...@openjdk.java.net; compiler-...@openjdk.java.net; > core-libs-dev@openjdk.java.net; serviceability-...@openjdk.java.net; > security-...@openjdk.java.net; net-...@openjdk.java.net > Subject: hg: jdk7/tl/jdk: 7008595: Class loader leak caused by keepAliveTimer > thread in KeepAliveCache > Date: Thu, 3 Feb 2011 10:11:03 + > > Changeset: 3c86f24f7500 > Author: chegar > Date: 2011-02-03 10:10 + > URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3c86f24f7500 > > 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache > Reviewed-by: michaelm > > ! src/share/classes/sun/net/www/http/KeepAliveCache.java > ! src/share/classes/sun/net/www/http/KeepAliveStream.java >
hg: jdk7/tl/jdk: 7014794: (file) lookupPrincipalByGroupName fails to find large NIS groups
Changeset: e2a182adb30f Author:alanb Date: 2011-02-03 13:37 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e2a182adb30f 7014794: (file) lookupPrincipalByGroupName fails to find large NIS groups Reviewed-by: chegar ! src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c
hg: jdk7/tl/jdk: 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java
Changeset: 68e3eba12afe Author:michaelm Date: 2011-02-03 12:57 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/68e3eba12afe 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java Reviewed-by: alanb ! test/java/lang/Runtime/exec/Duped.java
Auto Reply: core-libs-dev Digest, Vol 46, Issue 3
This is an auto-reply. I am out of office and travelling with limited access to email. Please contact the following: Steve Sides - Rhino and JavaDoc for JDK7 Randy - Sponsor Revamp and JdkTests For urgent matters, please contact vita.santru...@oracle.com
hg: jdk7/tl/jdk: 6887710: Jar index should avoid putting META-INF in the INDEX.LIST
Changeset: 0f5dc2fc81b1 Author:chegar Date: 2011-02-03 11:56 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0f5dc2fc81b1 6887710: Jar index should avoid putting META-INF in the INDEX.LIST Reviewed-by: michaelm ! src/share/classes/sun/misc/JarIndex.java + test/sun/misc/JarIndex/metaInfFilenames/Basic.java + test/sun/misc/JarIndex/metaInfFilenames/jarA/META-INF/services/my.happy.land + test/sun/misc/JarIndex/metaInfFilenames/jarA/a/A.java + test/sun/misc/JarIndex/metaInfFilenames/jarA/com/message/spi/MessageService.java + test/sun/misc/JarIndex/metaInfFilenames/jarB/META-INF/JAVA2.DS + test/sun/misc/JarIndex/metaInfFilenames/jarB/META-INF/services/no.name.service + test/sun/misc/JarIndex/metaInfFilenames/jarB/b/B.java + test/sun/misc/JarIndex/metaInfFilenames/jarC/META-INF/fonts.mf + test/sun/misc/JarIndex/metaInfFilenames/jarC/META-INF/fonts/Company-corporate.ttf + test/sun/misc/JarIndex/metaInfFilenames/jarC/META-INF/fonts/kidpr.ttf + test/sun/misc/JarIndex/metaInfFilenames/jarC/META-INF/services/com.message.spi.MessageService + test/sun/misc/JarIndex/metaInfFilenames/jarC/my/impl/StandardMessageService.java
hg: jdk7/tl/jdk: 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Changeset: dff9b6d18628 Author:coffeys Date: 2011-02-03 11:28 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/dff9b6d18628 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java Reviewed-by: vinnie ! test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Re: Fix for JDK Double.parseDouble infinite loop
Ismael Juma writes: > Also see (filed more than a year ago): > > https://bugs.openjdk.java.net/show_bug.cgi?id=100119 Oops, some of the newer messages were not visible on my reader for some reason. Sorry for the noise. Ismael
Re: Fix for JDK Double.parseDouble infinite loop
Andrew Haley writes: > The post on > http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e- 308/ Also see (filed more than a year ago): https://bugs.openjdk.java.net/show_bug.cgi?id=100119 Best, Ismael
hg: jdk7/tl/jdk: 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache
Changeset: 3c86f24f7500 Author:chegar Date: 2011-02-03 10:10 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3c86f24f7500 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache Reviewed-by: michaelm ! src/share/classes/sun/net/www/http/KeepAliveCache.java ! src/share/classes/sun/net/www/http/KeepAliveStream.java
hg: jdk7/tl/langtools: 4 new changesets
Changeset: 899f7c3d9426 Author:mcimadamore Date: 2011-02-03 09:35 + URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/899f7c3d9426 6594914: @SuppressWarnings("deprecation") does not not work for the type of a variable Summary: Lint warnings generated during MemberEnter might ignore @SuppressWarnings annotations Reviewed-by: jjg + src/share/classes/com/sun/tools/javac/code/DeferredLintHandler.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 ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/warnings/6594914/DeprecatedClass.java + test/tools/javac/warnings/6594914/T6594914a.java + test/tools/javac/warnings/6594914/T6594914a.out + test/tools/javac/warnings/6594914/T6594914b.java + test/tools/javac/warnings/6594914/T6594914b.out Changeset: 875262e89b52 Author:mcimadamore Date: 2011-02-03 09:36 + URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/875262e89b52 5017953: spurious cascaded diagnostics when name not found Summary: when an operator is applied to one or more erroneous operands, spurious diagnostics are generated Reviewed-by: jjg ! 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/Resolve.java + test/tools/javac/5017953/T5017953.java + test/tools/javac/5017953/T5017953.out ! test/tools/javac/6491592/T6491592.out Changeset: 03cf47d4de15 Author:mcimadamore Date: 2011-02-03 09:37 + URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/03cf47d4de15 6969184: poor error recovery after symbol not found Summary: generic type-well formedness check should ignore erroneous symbols Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Check.java + test/tools/javac/generics/6969184/T6969184.java + test/tools/javac/generics/6969184/T6969184.out Changeset: afe226180744 Author:mcimadamore Date: 2011-02-03 09:38 + URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/afe226180744 7014715: javac returns different error code for certain failure(s) Summary: javac silently crashes when emitting certain kinds of resolution diagnostics Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! test/tools/javac/AnonStaticMember_2.java + test/tools/javac/AnonStaticMember_2.out ! test/tools/javac/InterfaceInInner.java + test/tools/javac/InterfaceInInner.out ! test/tools/javac/QualifiedNew.java + test/tools/javac/QualifiedNew.out ! test/tools/javac/T6247324.out ! test/tools/javac/generics/diamond/neg/Neg01.out ! test/tools/javac/generics/inference/6943278/T6943278.out