<AWT Dev> [13] Review Request: 8223045 GraphicsEnvironment does not detect resolution changes in multiscreen systems

Phil Race philip.race at oracle.com
Mon May 20 17:05:16 UTC 2019


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:
> Hello.
> 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[1]) 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.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8076313
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20190520/a654cb15/attachment.html>


More information about the awt-dev mailing list