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

This pull request has now been integrated.

Changeset: c532dfff
Author:    Alexey Semenyuk <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/c532dfff5332c27723c7d58cb86a4f8c34dfac1e
Stats:     567 lines in 14 files changed: 445 ins; 60 del; 62 mod

8379348: jpackage will use wrong arch suffix for RPM bundle when running on 
Debian Linux

Reviewed-by: almatvee

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

PR: https://git.openjdk.org/jdk/pull/30085

Reply via email to