RFR: 8150564: Migrate useful ExtendedRobot methods into awt.Robot [v32]
Alexander Zvegintsev
azvegint at openjdk.org
Fri Aug 8 15:25:45 UTC 2025
On Thu, 7 Aug 2025 23:04:21 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:
>
> migrate dragAndDrop
src/java.desktop/share/classes/java/awt/Robot.java line 957:
> 955: * @implSpec The method moves the mouse pointer to source point ({@code fromX}, {@code fromY}),
> 956: * presses mouse button 1, calls glide to drag pointer to
> 957: * destination point ({@code toX}, {@code toY}), then releases mouse button 1.
It can probably be omitted because it's essentially the same information that's already stated in the previous sentence and the `@param` tags.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22044#discussion_r2263229134
More information about the client-libs-dev
mailing list