<AWT Dev> RFR: 8238741 java.awt.Robot(GraphicsDevice) constructor does not follow the spec

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Feb 10 08:52:22 UTC 2020

Please review the fix for jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-8238741
Fix: http://cr.openjdk.java.net/~serb/8238741/webrev.00

The check for the "headless state" was extracted from the
first constructor to the separate method which now called
by both constructors.

Best regards, Sergey.

More information about the awt-dev mailing list