RFR: 8345940: Migrate security-related resources from Java classes to properties files
Artur Barashev
abarashev at openjdk.org
Fri Mar 7 19:31:27 UTC 2025
These resources files are in Java classes. If converted to properties files, the localized versions can use UTF-8 encoding directly.
./src/java.base/share/classes/sun/security/tools/keytool/Resources.java
./src/java.base/share/classes/sun/security/util/Resources.java
./src/java.base/share/classes/sun/security/util/AuthResources.java
./src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources.java
-------------
Commit messages:
- - Remove all the Resources files and MigrationCheck unit test
- Update translations after merging with master branch
- Merge branch 'master' into JDK-8345940
- Merge branch 'master' into JDK-8345940
- The rest of Jarsigner translations
- Jarsigner initial setup
- Remove keytool zh_HK properties because it's being replaced with zh_TW internally
- We copy keytool_zh_TW.java to keytool_zh_HK.java internally after we compile the properties files
- Uncomment key
- The rest of keytool translations
- ... and 16 more: https://git.openjdk.org/jdk/compare/5cd4fe63...98e3c810
Changes: https://git.openjdk.org/jdk/pull/22774/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22774&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8345940
Stats: 16240 lines in 79 files changed: 6060 ins; 10165 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/22774.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22774/head:pull/22774
PR: https://git.openjdk.org/jdk/pull/22774
More information about the security-dev
mailing list