Approved.

Cheers,
Edvard

On 28 sep 2011, at 04.15, Weijun Wang wrote:

Hi All

This is a request to backport a jdk8 fix into jdk7u4 b01.

CR: 7081783: jarsigner error when no $HOME/.keystore
Weblink: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7081783

Description:

When there is no user default keystore (~/.keystore), jarsigner has a bug that prevents the CertPathValidator object been created, therefore, it would always print out a warning "certificate chain is not validated" even if it can be validated.

The fix is already included in jdk8 as:

  changeset:   4516:62c25e4c30a3
  user:        weijun
  date:        Mon Sep 05 11:22:27 2011 +0800
  URL:         http://hg.openjdk.java.net/jdk8/tl/jdk/rev/62c25e4c30a3
  Reviewed-by: xuelei

The patch for jdk7u4 is identical to the one in jdk8.

I intend to push it to

  ssh://hg.openjdk.java.net/jdk7u/jdk7u-dev-gate/jdk

Thanks
Weijun

Reply via email to