RFR: 8343601: javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java fails in ubuntu 22.04
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Nov 5 09:46:03 UTC 2024
It is seen that javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java fails in ubuntu 22.04 OCI instance. It is seen that test frame is being rendered at top-left of screen instead of at the center, and robot mouseMove is being used to point and click on radiobutton, checkbox etc and linux left dock placement can be a problem with this top-left rendering.
Fix is made to render the frame at the center.
Repeated iteration of the test run in 22.04 OCI instance is ok.
-------------
Commit messages:
- Test fix
Changes: https://git.openjdk.org/jdk/pull/21896/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21896&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343601
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/21896.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21896/head:pull/21896
PR: https://git.openjdk.org/jdk/pull/21896
More information about the client-libs-dev
mailing list