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

Pankaj Bansal pankaj.b.bansal at oracle.com
Mon Feb 10 09:18:28 UTC 2020


Hello Sergey,

The changes look good to me. 

Regards,
Pankaj

-----Original Message-----
From: Sergey Bylokhov 
Sent: Monday, February 10, 2020 2:22 PM
To: awt-dev at openjdk.java.net
Subject: <AWT Dev> RFR: 8238741 java.awt.Robot(GraphicsDevice) constructor does not follow the spec

Hello.
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