On Fri, 28 Mar 2025 11:09:03 GMT, Manukumar V S <m...@openjdk.org> wrote:
> java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently > in CI, especially in MacOS machines. > Also the frame created in this test is not disposed which may interfere with > other tests. > > Fix: > Some stabilisations added and the frame is disposed properly. > > Testing: > Tested 100 times per > platform(macosx-x64,macosx-aarch64,windows-x64,linux-x64) and got all PASS. test/jdk/java/awt/ScrollPane/bug8077409Test.java line 92: > 90: final bug8077409Test obj = new bug8077409Test(); > 91: try { > 92: obj.setLocationRelativeTo(null); Please correct the format test/jdk/java/awt/ScrollPane/bug8077409Test.java line 95: > 93: Toolkit.getDefaultToolkit().addAWTEventListener(e -> { > 94: KeyEvent keyEvent = (KeyEvent) e; > 95: if(keyEvent.getID() == KeyEvent.KEY_RELEASED) { There is a space after if in all the other if but not for this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24292#discussion_r2018913020 PR Review Comment: https://git.openjdk.org/jdk/pull/24292#discussion_r2018915057