<AWT Dev>  Review Request: 8223045 GraphicsEnvironment does not detect resolution changes in multiscreen systems
Sergey.Bylokhov at oracle.com
Tue May 21 00:13:34 UTC 2019
On 20/05/2019 10:05, Phil Race wrote:
> Looks OK. Seems we were previously leaking (or at least not freeing) the
> XineramaScreenInfo struct after we were done with it. -phil.
> On 5/1/19 5:09 PM, Sergey Bylokhov wrote:
>> Please review the fix for JDK 13.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8223045
>> Fix: http://cr.openjdk.java.net/~serb/8223045/webrev.01
>> This fix deletes the array which initialized on startup and contained the screen resolution data.
>> After the fix these data calculated on-demand.
>> Note: It is possible that the list of screens(which we still cache, see JDK-8076313) can be out of sync to the real number of screens on the system, for removed screens we will request the bounds of the main screen if it fails we will request the screen bounds using X11.
>>  https://bugs.openjdk.java.net/browse/JDK-8076313
Best regards, Sergey.
More information about the awt-dev