RFR: 8334319: Missing keys in jpackage resource bundle
Alexey Semenyuk
asemenyuk at openjdk.org
Wed Dec 4 03:44:11 UTC 2024
- Add missing resource keys to Windows property files;
- Fix the code to throw `ConfigException` if the service installer executable is required but not available instead of throwing the exception only when it is not found in the resource directory;
- Fix `JPackageStringBundle.getFormattedString()` that should not use a resource property string as a format for `MessageFormat.format()` if there are no arguments for formatting. `MessageFormat.format()` interprets characters in the format string, e.g., it removes single quotes.
- Add tests.
-------------
Commit messages:
- 8334319: Missing keys in jpackage resource bundle
Changes: https://git.openjdk.org/jdk/pull/22533/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22533&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8334319
Stats: 85 lines in 7 files changed: 55 ins; 14 del; 16 mod
Patch: https://git.openjdk.org/jdk/pull/22533.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22533/head:pull/22533
PR: https://git.openjdk.org/jdk/pull/22533
More information about the core-libs-dev
mailing list