On Mon, 7 Jun 2021 16:07:20 GMT, Alexander Zvegintsev <[email protected]>
wrote:
>> Phil Race has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8267430: GraphicsDevice.setDisplayMode(REFRESH_RATE_UNKNOWN) throws IAE:
>> Unable to set display mode
>
> test/jdk/java/awt/GraphicsDevice/DisplayModes/UnknownRefrshRateTest.java line
> 44:
>
>> 42: for (GraphicsDevice d : devices) {
>> 43:
>> 44: if (!d.isDisplayChangeSupported()) {
>
> BTW, do we want to run this test on other platforms?
>
> If so, we need to modify test. Because `isDisplayChangeSupported()` may
> return true on Windows and Linux only if we have a fullscreen window showing.
I don't see the harm.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4373