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

Harshitha Onkar honkar at openjdk.org
Wed Jun 11 18:36:48 UTC 2025


On Tue, 10 Jun 2025 21:47:26 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:
> 
>   synchronized for type(char)

test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java line 64:

> 62: 
> 63:     TrayIcon icon;
> 64:     Robot robot;

This test still builds ExtendedRobot which is no longer needed. Applicable for other tests as well. 


@library /lib/client
@build ExtendedRobot

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

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


More information about the client-libs-dev mailing list