<AWT Dev> [9] Review Request: 7185221 [macosx] Regtest should not throw exception if a suitable display mode found

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Wed Jan 21 17:47:04 UTC 2015

Hello Sergey,

the fix looks good to me.


On 21.01.2015 20:12, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk 9.
> The test modify a supported list of DisplayModes and try to check that IllegalArgumentException will be thrown. But the problem occurs, when the test tries to change a supported DisplayMode which refresh rate is unknown. This happens because we match any refresh rate to a REFRESH_RATE_UNKNOWN.
> Bug: https://bugs.openjdk.java.net/browse/JDK-7185221
> Webrev can be found at: http://cr.openjdk.java.net/~serb/7185221/webrev.00/webrev
> Diff: http://cr.openjdk.java.net/~serb/7185221/webrev.00/diff

More information about the awt-dev mailing list