> Fix jpackage to use the correct arch for DEB bundles when running on > RPM-based Linux, and vice versa. > > The bug was in `jdk.jpackage.internal.LinuxBundlingEnvironment` class. > > Additionally: > - Add missing single quote escape to > `error.unexpected-default-package-property.advice` l10n string > - Reworded `error.unexpected-package-property` l10n string > - JPackageStringBundle: add `cannedFormattedStringAsPattern()`; throw when > the number of format arguments doesn't match the number of format fields; add > unit tests; ErrorTest, InstallDirTest: follow-up bugfixes > - LinuxHelper: fix unexpected `java.lang.AssertionError: Failed: Check > [libc] package is in the list of required packages [/bin/sh, /bin/sh, > /bin/sh, rpmlib(CompressedFileNames) <= 3.0.4-1, > rpmlib(PayloadFilesHavePrefix) <= 4.0-1] of [simplepackagetest] package` > error when bundling RPM package on Ubuntu; Make `getDefaultPackageArch()` > thread-safe
Alexey Semenyuk has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision: - Update copyright year - JPackageCommand: add standard assert to check that jpackage's output doesn't contain the "wrong Linux package architecture" error ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30085/files - new: https://git.openjdk.org/jdk/pull/30085/files/09fcc996..ebc42da1 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30085&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30085&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30085.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30085/head:pull/30085 PR: https://git.openjdk.org/jdk/pull/30085
