<AWT Dev> [13] Review Request: 8223045 GraphicsEnvironment does not detect resolution changes in multiscreen systems
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu May 2 00:09:02 UTC 2019
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
--
Best regards, Sergey.
More information about the awt-dev
mailing list