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). Sounds good, thanks for weighing in. I've updated the patch to skip test cases if WiX is not available. It's a bit clunky because I had to use reflection to execute `createToolset()` and monitor for exceptions, but let me know if you think there's a more elegant way. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31282#issuecomment-4561340329
