On Thu, 5 Mar 2026 23:47:49 GMT, Alexey Semenyuk <[email protected]> wrote:
>> 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 Looks good. ------------- Marked as reviewed by almatvee (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/30085#pullrequestreview-3901055262
