hg: jdk8/tl/jdk: 7106773: 512 bits RSA key cannot work with SHA384 and SHA512

2012-01-12 Thread xuelei . fan
Changeset: 11e52d5ba64e
Author:xuelei
Date:  2012-01-12 03:39 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/11e52d5ba64e

7106773: 512 bits RSA key cannot work with SHA384 and SHA512
Reviewed-by: weijun

! src/share/classes/sun/security/pkcs11/P11Cipher.java
! src/share/classes/sun/security/pkcs11/P11Key.java
! src/share/classes/sun/security/pkcs11/P11RSACipher.java
! src/share/classes/sun/security/pkcs11/P11Signature.java
! src/share/classes/sun/security/ssl/ClientHandshaker.java
! src/share/classes/sun/security/ssl/ServerHandshaker.java
! src/share/classes/sun/security/ssl/SignatureAndHashAlgorithm.java
! src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java
+ src/share/classes/sun/security/util/KeyLength.java
+ src/share/classes/sun/security/util/Length.java
! src/windows/classes/sun/security/mscapi/Key.java
! src/windows/classes/sun/security/mscapi/RSACipher.java
! src/windows/classes/sun/security/mscapi/RSASignature.java
+ test/sun/security/mscapi/ShortRSAKey1024.sh
+ test/sun/security/mscapi/ShortRSAKey512.sh
+ test/sun/security/mscapi/ShortRSAKey768.sh
+ test/sun/security/mscapi/ShortRSAKeyWithinTLS.java
! test/sun/security/pkcs11/KeyStore/ClientAuth.java
! test/sun/security/pkcs11/KeyStore/ClientAuth.sh
! test/sun/security/ssl/javax/net/ssl/SSLContextVersion.java
+ test/sun/security/ssl/javax/net/ssl/TLSv12/ShortRSAKey512.java



hg: jdk8/tl/langtools: 7123100: javac fails with java.lang.StackOverflowError

2012-01-12 Thread maurizio . cimadamore
Changeset: 133744729455
Author:mcimadamore
Date:  2012-01-12 15:28 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/133744729455

7123100: javac fails with java.lang.StackOverflowError
Summary: Inference of under-constrained type-variables creates erroneous 
recursive wildcard types
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/cast/7123100/T7123100a.java
+ test/tools/javac/cast/7123100/T7123100a.out
+ test/tools/javac/cast/7123100/T7123100b.java
+ test/tools/javac/cast/7123100/T7123100b.out
+ test/tools/javac/cast/7123100/T7123100c.java
+ test/tools/javac/cast/7123100/T7123100c.out
+ test/tools/javac/cast/7123100/T7123100d.java
+ test/tools/javac/cast/7123100/T7123100d.out



hg: jdk8/tl/jdk: 7090565: Move test/closed/javax/security/auth/x500/X500Principal/Parse.java to open tests

2012-01-12 Thread weijun . wang
Changeset: 38bf1e9b6979
Author:weijun
Date:  2012-01-13 09:50 +0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/38bf1e9b6979

7090565: Move test/closed/javax/security/auth/x500/X500Principal/Parse.java to 
open tests
Reviewed-by: mullan

+ test/javax/security/auth/x500/X500Principal/NameFormat.java



hg: jdk8/tl/jdk: 2 new changesets

2012-01-12 Thread valerie . peng
Changeset: ef3b6736c074
Author:valeriep
Date:  2012-01-12 16:04 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ef3b6736c074

7088989: Improve the performance for T4 by utilizing the newly provided crypto 
APIs
Summary: Added the OracleUcrypto provider for utilizing the Solaris ucrypto API.
Reviewed-by: weijun

! make/com/oracle/Makefile
+ make/com/oracle/net/Makefile
+ make/com/oracle/nio/Makefile
+ make/com/oracle/security/ucrypto/FILES_c.gmk
+ make/com/oracle/security/ucrypto/Makefile
+ make/com/oracle/security/ucrypto/mapfile-vers
+ make/com/oracle/util/Makefile
! src/share/lib/security/java.security-solaris
! test/Makefile
+ test/com/oracle/security/ucrypto/TestAES.java
+ test/com/oracle/security/ucrypto/TestDigest.java
+ test/com/oracle/security/ucrypto/TestRSA.java
+ test/com/oracle/security/ucrypto/UcryptoTest.java
! test/java/security/Provider/DefaultPKCS11.java

Changeset: a7ad2fcd7291
Author:valeriep
Date:  2012-01-12 18:49 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a7ad2fcd7291

Merge