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

Artur Barashev abarashev at openjdk.org
Fri Mar 7 19:39:17 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:

  Restore ResourcesMgr.java deleted by mistake

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22774/files
  - new: https://git.openjdk.org/jdk/pull/22774/files/98e3c810..15c4b64e

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

  Stats: 57 lines in 1 file changed: 57 ins; 0 del; 0 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