Replace `error.invalid-value-for-package-name` and `error.invalid-value-for-package-name.advice` l10n keys with a pair for rpm packaging: - `error.rpm-invalid-value-for-package-name` - `error.rpm-invalid-value-for-package-name.advice` and a pair for deb packaging: - `error.deb-invalid-value-for-package-name` - `error.deb-invalid-value-for-package-name.advice`
Added tests for the new l10n keys. Altered jdk.jpackage.internal.Arguments class to prevent it from suppressing the advice property of wrapped `jdk.jpackage.internal.ConfigException` exceptions. ------------- Commit messages: - Copyright year updated - 8334322: Misleading values of keys in jpackage resource bundle Changes: https://git.openjdk.org/jdk/pull/24215/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24215&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8334322 Stats: 63 lines in 5 files changed: 47 ins; 2 del; 14 mod Patch: https://git.openjdk.org/jdk/pull/24215.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24215/head:pull/24215 PR: https://git.openjdk.org/jdk/pull/24215