On Thu, 5 Mar 2026 15:17:27 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

@sashamatveev PTAL

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30085#issuecomment-4008449735

Reply via email to