<AWT Dev> [15] Review Request: 8233573 Toolkit.getScreenInsets(GraphicsConfiguration) may throw ClassCastException
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Mar 9 22:14:30 UTC 2020
Any volunteers to review? =)
On 12/19/19 9:15 pm, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for JDK 15.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8233573
> Fix: http://cr.openjdk.java.net/~serb/8233573/webrev.00
>
> All implementations of java.awt.Toolkit#getScreenInsets() on all
> platforms will check the passed GraphicsConfiguration/GraphicsDevice
> and call super if a device is unknown, in this case the empty insets
> will be returned.
>
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list