[jdk11u-dev] Integrated: 8257722: Improve "keytool -printcert -jarfile" output
Goetz Lindenmaier
goetz at openjdk.org
Fri Nov 4 07:57:14 UTC 2022
On Thu, 3 Nov 2022 08:39:30 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this for parity with 11.0.18-oracle.
>
> src/java.base/share/classes/sun/security/tools/keytool/Main.java
> had to be resolved:
> In 11, x.getSubjectDN() is printed to 'out'. In the original
> change and in 17, x.getSubjectX500Principal() is printed in this
> place.
> This is because "8241003: Deprecate "denigrated" java.security.cert APIs that represent DNs as Principal or String objects" is not in 11.
>
> I also had to resolve
> src/java.base/share/classes/sun/security/tools/keytool/Resources.java
> due to context.
This pull request has now been integrated.
Changeset: 13c07e62
Author: Goetz Lindenmaier <goetz at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/13c07e6218cf28ff94421b3df02a2a4ce5db031f
Stats: 253 lines in 4 files changed: 166 ins; 84 del; 3 mod
8257722: Improve "keytool -printcert -jarfile" output
Reviewed-by: phh
Backport-of: de93b1d0e83a9428dae4a9609996fe7b7e9b4932
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1495
More information about the jdk-updates-dev
mailing list