<AWT Dev> RFR: 8267430: GraphicsDevice.setDisplayMode(REFRESH_RATE_UNKNOWN) throws AE: Unable to set display mode! [v2]

Sergey Bylokhov serb at openjdk.java.net
Tue Jun 8 20:53:16 UTC 2021


On Mon, 7 Jun 2021 19:50:33 GMT, Sergey Bylokhov <serb at openjdk.org> 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 67:
> 
>> 65:              } finally {
>> 66:                  System.out.println("restoring original mode"+odm);
>> 67:                  d.setDisplayMode(odm);
> 
> I suggest waiting here as well.

I still suggest waiting here, other tests were updated to wait 10 seconds, since on the old systems the last restore may affect the next test.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4373


More information about the awt-dev mailing list