On Tue, 26 May 2026 14:12:10 GMT, Ashay Rane <[email protected]> wrote:

> Previously, the test expected a precise match between the produced and
> expected error messages, but such a check fails when the test fails for
> more than the expected reason, like when WiX is not available on
> Windows.  This patch changes the precise equality check with a substring
> check to work around the problem.
> 
> Validated this patch on a Windows box that doesn't have WiX available.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

As the author of these test cases, I can assure you that these tests:
 - should be executed in an environment configured for building native packages.
 - should pass only if jpackage's output contains no additional content.

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

PR Comment: https://git.openjdk.org/jdk/pull/31282#issuecomment-4547325186

Reply via email to