<AWT Dev> Review Request for 8056911: Remove internal API usage from ExtendedRobot class

David Holmes david.holmes at oracle.com
Fri Oct 31 06:53:43 UTC 2014


The fix that was pushed for this does not compile:

/opt/jprt/T/P1/053347.jdeploy/s/jdk/src/java.desktop/share/classes/java/awt/Robot.java:565: 
error: unexpected type
             if (AccessController.doPrivileged(OSInfo.getOSTypeAction()) 
= OSInfo.OSType.MACOSX) {
                                              ^
   required: variable
   found:    value


Use of = instead of == or !=

David
------

Hi Sergey,

Thanks for review!
I've started a bug to track javadoc changes:
https://bugs.openjdk.java.net/browse/JDK-8062545

Thanks,
Dima

On 10/30/2014 03:33 PM, Sergey Bylokhov wrote:
 > Hi, Dmitriy.
 > The fix looks good.
 >
 > ----- dmitriy.ermashov at oracle.com:
 >
 >> My fault.
 >>
 >> Updated version:
 >> http://cr.openjdk.java.net/~dermashov/8056911/webrev.05/
 >>
 >> Thanks,
 >> Dima
 >>


More information about the awt-dev mailing list