RFR 8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires

2017-10-19 Thread Weijun Wang
Please review the fix at http://cr.openjdk.java.net/~weijun/8180289/webrev.00/ The code change contains: - Fix the bug by passing the timestamp to Validator::validate. - CertPath validation on timestamp signer cert and related warning messages - Output change: "chain not validated" -> "inval

RFR 8159535: Mark deprecated javax.security.auth.Policy API with forRemoval=true

2017-10-19 Thread Weijun Wang
Please review this patch. A CSR [1] is also filed. diff --git a/src/java.base/share/classes/javax/security/auth/Policy.java b/src/java.base/share/classes/javax/security/auth/Policy.java --- a/src/java.base/share/classes/javax/security/auth/Policy.java +++ b/src/java.base/share/classes/javax/secur

Re: RFR 8189657: LineBrokenMultiByteCharacter.java fails on some systems that does not accept a non-ASCII char in Path

2017-10-19 Thread Weijun Wang
False alarm! Turns out I introduced the bug in another change I am still working on. I'll close this bug. --Max > On Oct 19, 2017, at 2:45 PM, Weijun Wang wrote: > > Please review this patch: > > $ hg qdiff -wb > diff --git a/test/lib/jdk/test/lib/util/JarUtils.java > b/test/lib/jdk/test/lib