The tests java/awt/Focus/8073453/AWTFocusTransitionTest.java and 
java/awt/Focus/8073453/SwingFocusTransitionTest.java fail on MacOS 
intermittently and are problem listed. The test needs lot of Robot actions. It 
does not test if the components are visible on the screen.

The changes fix this issue. Also, the frame is moved to centre of screen and 
set to be at top always. Some more cleanup is done. The test is passing for 
multiple iterations on all platforms on CI. Link in JBS.

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

Commit messages:
 - 8136517: [macosx]Test  java/awt/Focus/8073453/AWTFocusTransitionTest.java 
fails on MacOSX

Changes: https://git.openjdk.java.net/jdk/pull/3624/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3624&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8136517
  Stats: 66 lines in 3 files changed: 54 ins; 6 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3624.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3624/head:pull/3624

PR: https://git.openjdk.java.net/jdk/pull/3624

Reply via email to