RFR: 8345940: Migrate security-related resources from Java classes to properties files [v6]

Artur Barashev abarashev at openjdk.org
Mon Mar 10 14:56:51 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

Artur Barashev has updated the pull request incrementally with one additional commit since the last revision:

  jarsigner_zh_CN.properties conversion plus a couple of minor fixes.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/22774/files
  - new: https://git.openjdk.org/jdk/pull/22774/files/a386342a..652900b4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22774&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22774&range=04-05

  Stats: 169 lines in 3 files changed: 0 ins; 0 del; 169 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