RFR: JDK-8283087: Create a test or JDK-4715503
Sergey Bylokhov
serb at openjdk.java.net
Wed Mar 16 06:03:44 UTC 2022
On Mon, 14 Mar 2022 09:28:50 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:
> Create a test or [JDK-4715503](https://bugs.openjdk.java.net/browse/JDK-4715503)
>
> The getAccessibleContext method for JTable column header cells returns an
> AccessibleContext which cannot get the Bounding Rectangle for table header cells. The Bug causes problems with screen reader review mode.
>
> The test added verifies that the are not exceptions and Bounding rectangles are returned for the Accessible Table Header Cells.
>
> This review is for migrating tests from a closed test suite to open.
test/jdk/javax/accessibility/4715503/AccessibleJTableCellBoundingRectangleTest.java line 59:
> 57: System.out.println("Column " + i + " Bounds: "
> 58: + jTable.getTableHeader().getAccessibleContext().getAccessibleChild(i)
> 59: .getAccessibleContext().getAccessibleComponent().getBounds());
Can we add quick validation of the returned value? I assume it at least should not be null.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7807
More information about the client-libs-dev
mailing list