RFR: 8150564: Migrate useful ExtendedRobot methods into awt.Robot [v27]

Alisen Chung achung at openjdk.org
Tue Aug 5 02:42:24 UTC 2025


On Fri, 1 Aug 2025 22:13:40 GMT, Phil Race <prr at openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   revert robot set/get for step delay/length and readd glide(int,int,int,int,int,int), remove restriction on dist < stepLength and corresponding IAE from spec
>
> src/java.desktop/share/classes/java/awt/Robot.java line 846:
> 
>> 844:     /**
>> 845:      * A convenience method that moves the mouse in multiple
>> 846:      * steps from its current location to the destination coordinates. Invokes
> 
> I think this is the text that caused Joe to write
> "From reading the text, it should like the method would benefit from an @implSpec tag describing the behavior."
> You can read about implSpec here https://bugs.openjdk.org/browse/JDK-8068562

I've moved the description of the implementation into a implSpec tag for both glide(int int) and glide(int int int int). I'm not sure if and how the implSpec should be expanded to include more detail. Do you have any suggestions?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22044#discussion_r2252966898


More information about the client-libs-dev mailing list