RFR: 8150564: Migrate useful ExtendedRobot methods into awt.Robot [v23]
Alisen Chung
achung at openjdk.org
Mon Jul 14 19:26:01 UTC 2025
On Thu, 10 Jul 2025 15:29:25 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 with a new target base due to a merge or a rebase. The pull request now contains 32 commits:
>
> - update robot specs
> - Merge branch 'master' of https://github.com/openjdk/jdk into 8150564
> - remove ER from remaining modal test
> - remove /lib/client/ from tests with ER removed
> - update tests, remove extended robot from some tests
> - update tests
> - synchronized for type(char)
> - migrate type(char) method
> - Merge branch 'master' of https://github.com/openjdk/jdk into 8150564
> - remove specified numbers in constant fields, add exception to documentation in glide
> - ... and 22 more: https://git.openjdk.org/jdk/compare/3bcbcc57...c02d4183
I've decided to remove click/type's usage of the default step-delay and just forced them to use a delay of 20ms since I don't think anyone would need to explicitly set a delay for clicking and typing. I also made the step delay/length to be configurable for glide and added setters/getters for them. Because of that I removed the last glide override that explicitly set the delay and length.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22044#issuecomment-3070699211
More information about the client-libs-dev
mailing list