[jdk11u-dev] RFR: 8257722: Improve "keytool -printcert -jarfile" output
Goetz Lindenmaier
goetz at openjdk.org
Thu Nov 3 12:23:52 UTC 2022
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.
-------------
Commit messages:
- Backport de93b1d0e83a9428dae4a9609996fe7b7e9b4932
Changes: https://git.openjdk.org/jdk11u-dev/pull/1495/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1495&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8257722
Stats: 253 lines in 4 files changed: 166 ins; 84 del; 3 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/1495.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1495/head:pull/1495
PR: https://git.openjdk.org/jdk11u-dev/pull/1495
More information about the jdk-updates-dev
mailing list