RFR: 8150564: Migrate useful ExtendedRobot methods into awt.Robot [v28]
Alexander Zvegintsev
azvegint at openjdk.org
Thu Aug 7 13:25:37 UTC 2025
On Tue, 5 Aug 2025 02:42:24 GMT, Alisen Chung <achung at openjdk.org> wrote:
>> Some useful methods in ExtendedRobot should be migrated into Robot itself so that ExtendedRobot can be removed in the future. The tests using ExtendedRobot for these migrated methods are changed to use only Robot (removing unnecessary building of ExtendedRobot).
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> moved sentence describing method behavior into implSpec tag
src/java.desktop/share/classes/java/awt/Robot.java line 885:
> 883: * @since 26
> 884: */
> 885: public void glide(int fromX, int fromY, int toX, int toY) {
Suggestion:
public void glide(int srcX, int srcY, int dstX, int dstY) {
* for parameter naming consistency with the `public void glide(int srcX, int srcY, int destX, int destY, int stepLength, int stepDelay)`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22044#discussion_r2260292050
More information about the client-libs-dev
mailing list