On Wed, 26 Jan 2022 00:12:17 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:
> A new test case was added to test the fix as there was no corresponding test > case present for this issue previously. src/java.desktop/macosx/classes/com/apple/laf/AquaTableHeaderBorder.java line 2: > 1: /* > 2: * Copyright (c) 2011, 2014, 2022, Oracle and/or its affiliates. All > rights reserved. The first date is the date when the file was created, the second date is a date when it was updated last time. So you do not need to add a new one, just update the second. test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 74: > 72: > 73: // get JTableHeader coordinate position on screen (x,y) > 74: Point point = table.getTableHeader().getLocationOnScreen(); The table is a Swing component it should be accessed on the EDT. (the same comment for the header below) test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 101: > 99: } > 100: } > 101: } The frame should be disposed at the end of the test. ------------- PR: https://git.openjdk.java.net/jdk/pull/7219