[8u] RFR 8277224: sun.security.pkcs.PKCS9Attributes.toString() throws NPE
Andrew Hughes
gnu.andrew at redhat.com
Thu Dec 2 17:27:20 UTC 2021
On 13:58 Wed 01 Dec , Zhengyu Gu wrote:
> I would like to backport this patch to openjdk8u for parity with Oracle
> 8u331.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8277224
> Patch:
> https://github.com/openjdk/jdk/commit/6bb04626af6574ef1e8d4b7dad0389d4b59f5d08
>
> The original patch does not apply cleanly to 8u. The only conflict is
> the change in PKCS9Attributes.toString() method, where 8u uses
> "StringBuffer buf", while 18 uses "StringBuffer sb" to build string.
>
> 8u webrev: http://cr.openjdk.java.net/~zgu/JDK-8277224-8u/webrev.00/
>
> Test:
> NonStandardNames.java passed.
>
>
> Thanks,
>
> -Zhengyu
>
This webrev still seems to be based on the old 8u repositories.
Changes now need to be against https://hg.openjdk.java.net/jdk8u/monojdk8u-dev
Thanks,
--
Andrew :)
Pronouns: he / him or they / them
Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk8u-dev
mailing list