On Mon, 10 Mar 2025 23:33:39 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
>> test/jdk/java/awt/color/ICC_Profile/BuiltInProfileCheck.java line 71: >> >>> 69: } catch (IllegalArgumentException iae) { >>> 70: if (!iae.getMessage().equals(EXCEPTION_MSG)) { >>> 71: throw new RuntimeException("Test Failed! IAE with >>> exception msg \"" >> >> I don't think you need to - or should - expect a specific exception message. >> Obviously you can update the test if the text changes, but I just don't >> think this is necessary. > > Updated. Reverted based on @aivanov-jdk suggestion - https://github.com/openjdk/jdk/pull/23606#discussion_r1989287031 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23606#discussion_r1989837589