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

Harshitha Onkar honkar at openjdk.org
Tue Jun 17 16:51:50 UTC 2025


On Fri, 13 Jun 2025 00:40:30 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 two additional commits since the last revision:
> 
>  - update tests, remove extended robot from some tests
>  - update tests

Since there are many test changes it is good to run CI on latest update.

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

> 54:  *          jdk.test.lib.Platform
> 55:  *          jtreg.SkippedException
> 56:  *          ExtendedRobot

Since ExtendedRobot is removed /lib/client is no longer required in `@library` tag. Applicable for other tests as well.

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

Changes requested by honkar (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22044#pullrequestreview-2925692169
PR Review Comment: https://git.openjdk.org/jdk/pull/22044#discussion_r2152727259


More information about the client-libs-dev mailing list