On Tue, 26 May 2026 14:12:10 GMT, Ashay Rane <[email protected]> wrote:
> 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. To > prevent such failures, this patch mocks the native building > functionality. > > 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). This pull request has now been integrated. Changeset: 7b2845ea Author: Ashay Rane <[email protected]> Committer: SendaoYan <[email protected]> URL: https://git.openjdk.org/jdk/commit/7b2845eab4011c4ceca01eecb8d8f920fe457d9d Stats: 30 lines in 1 file changed: 28 ins; 0 del; 2 mod 8384087: Test tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/cli/MainTest.java fails Reviewed-by: almatvee, asemenyuk ------------- PR: https://git.openjdk.org/jdk/pull/31282
