Code review request: 8009617: jarsigner fails when TSA response contains a status string

2013-03-07 Thread Weijun Wang

Hi

Bug:

   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8009617

Original bug:

   https://bugs.openjdk.java.net/show_bug.cgi?id=100304

Webrev:

   http://cr.openjdk.java.net/~weijun/8009617/webrev.00

I've added a few lines into an existing test.

This bug is already fixed in jdk8, so this is for jdk7u-dev only.

Thanks
Max


hg: jdk8/tl/langtools: 8009138: javac, equals-hashCode warning tuning

2013-03-07 Thread vicente . romero
Changeset: 3806171b52d8
Author:vromero
Date:  2013-03-07 10:04 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/3806171b52d8

8009138: javac, equals-hashCode warning tuning
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Symtab.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/resources/compiler.properties
+ test/tools/javac/6563143/EqualsHashCodeWarningTest.java
+ test/tools/javac/6563143/EqualsHashCodeWarningTest.out
- test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.java
- test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.out



hg: jdk8/tl/langtools: 8009170: Regression: javac generates redundant bytecode in assignop involving arrays

2013-03-07 Thread vicente . romero
Changeset: 823fb9229724
Author:vromero
Date:  2013-03-07 10:12 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/823fb9229724

8009170: Regression: javac generates redundant bytecode in assignop involving 
arrays
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/Lower.java
! test/tools/javac/7167125/DiffResultAfterSameOperationInnerClasses.java
+ test/tools/javac/8009170/RedundantByteCodeInArrayTest.java



hg: jdk8/tl/jdk: 6370908: Add support for HTTP_CONNECT proxy in Socket class

2013-03-07 Thread chris . hegarty
Changeset: 48b7295f02f8
Author:chegar
Date:  2013-03-07 10:07 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48b7295f02f8

6370908: Add support for HTTP_CONNECT proxy in Socket class
Reviewed-by: chegar
Contributed-by: Damjan Jovanovic damjan@gmail.com, Chris Hegarty 
chris.hega...@oracle.com

+ src/share/classes/java/net/HttpConnectSocketImpl.java
! src/share/classes/java/net/Socket.java
+ test/java/net/Socket/HttpProxy.java



Re: Code review request: 8009617: jarsigner fails when TSA response contains a status string

2013-03-07 Thread Sean Mullan

Looks good.

--Sean

On 03/07/2013 04:04 AM, Weijun Wang wrote:

Hi

Bug:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8009617

Original bug:

https://bugs.openjdk.java.net/show_bug.cgi?id=100304

Webrev:

http://cr.openjdk.java.net/~weijun/8009617/webrev.00

I've added a few lines into an existing test.

This bug is already fixed in jdk8, so this is for jdk7u-dev only.

Thanks
Max




hg: jdk8/tl/langtools: 8009582: Method reference generic constructor gives: IllegalArgumentException: Invalid lambda deserialization

2013-03-07 Thread robert . field
Changeset: a02c3ddc182b
Author:rfield
Date:  2013-03-07 08:26 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/a02c3ddc182b

8009582: Method reference generic constructor gives: IllegalArgumentException: 
Invalid lambda deserialization
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/GenericMethodRefImplClass.java



hg: jdk8/tl/jdk: 8009397: test/com/sun/jdi/PrivateTransportTest.sh: ERROR: transport library missing onLoad entry: private_dt_socket

2013-03-07 Thread staffan . larsen
Changeset: 34372bb9115d
Author:sla
Date:  2013-03-05 19:25 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/34372bb9115d

8009397: test/com/sun/jdi/PrivateTransportTest.sh: ERROR: transport library 
missing onLoad entry: private_dt_socket
Reviewed-by: alanb

! src/share/back/transport.c
! src/share/demo/jvmti/hprof/hprof_init.c
! src/solaris/back/linker_md.c
! src/solaris/demo/jvmti/hprof/hprof_md.c
! src/windows/back/linker_md.c
! src/windows/demo/jvmti/hprof/hprof_md.c



hg: jdk8/tl/jdk: 8007808: Missing method: Executable.getAnnotatedReturnType()

2013-03-07 Thread joel . franck
Changeset: 38e1821c4472
Author:jfranck
Date:  2013-03-06 18:35 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/38e1821c4472

8007808: Missing method: Executable.getAnnotatedReturnType()
Reviewed-by: darcy, forax

! src/share/classes/java/lang/reflect/Constructor.java
! src/share/classes/java/lang/reflect/Executable.java
! src/share/classes/java/lang/reflect/Method.java



Re: PKCS11 support on 64bit sun java

2013-03-07 Thread Brad Wetmore
Are you talking about windows-64 bit?  All the other platforms should 
have 64-bit support.


JDK 8 does have windows-x64 support for PKCS11.

http://openjdk.java.net/jeps/131

I don't know of any plans to backport.

Brad




On 3/6/2013 9:16 PM, mohankumar kanaka wrote:

Hi,


This is Mohankumar working based in Hyderabad India working for MNC

Recently i have worked on PKCS11 support for 64 bit Sun/oracle java i
found the SUNPKCS11.jar and j2pkcs11.dll are not present in jdk and
which are core elements for PKCS11 support  due to absence of this
on*64bit java* we are unable work with tokens and HSMs


So i tried to build sunpkcs11.jar and j2pkcs11.dll

1. Downloaded open jdk source code jdk version 6
2. figured out the classes for j2pkcs11.dll and sunpkcs11.jar respectively.
3. I was able to build the j2pkcs11.dll and sunpkcs11.jar and also
tested primarily with safenet ikey 2032 token and i was successfully get
provider by using sunpkcs11 class and also able to get the key store.


But i do not know the where to submit the solution so that it would  be
helpful for others.

Have a Great Day!!
Regards
Mohankumar kanaka