JPackageStringBundle: move FormattedMessage class to the top level, rename it to CannedMessageFormat, and make it public. The CannedMessageFormat class can be used to create a format string bound to the format string arguments, where the format string is loaded from a string bundle or picked from any other source
Additionally: - JPackageCommand: support running jpackage with modified environment variables - LinuxHelper: expose `getReleaseSuffix()` - JPackageCommand: add `fullVersion()` based on `LinuxHelper.getReleaseSuffix()` --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - LinuxHelper: expose getReleaseSuffix(); JPackageCommand: add fullVersion() - JPackageCommand: support running jpackage with modified environment variables - JPackageStringBundle: move FormattedMessage class to the top level, rename into CannedMessageFormat and make it public Changes: https://git.openjdk.org/jdk/pull/30906/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30906&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8383168 Stats: 579 lines in 8 files changed: 397 ins; 147 del; 35 mod Patch: https://git.openjdk.org/jdk/pull/30906.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30906/head:pull/30906 PR: https://git.openjdk.org/jdk/pull/30906
