RFR: JDK-8282778: Create a regression test for JDK-4699544 [v4]

Srinivas Mandalika smandalika at openjdk.java.net
Wed Apr 27 15:28:53 UTC 2022


On Tue, 12 Apr 2022 09:05:56 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

>> Create a regression test for JDK-4699544
>> 
>> The subclass of javax.swing.JRootPane (AccessibleJRootPane) that implements the accessibility interface javax.accessibility.AccessibleComponent is derived from java.awt.AccessibleAWTComponent, which returns null for getAccessibleAt() because a component does not necessarily have childs.
>> 
>> The root pane always has a content pane child, so getAccessibleAt() should be overwritten by AccessibleJRootPane appropriately.
>> The test added verifies the same.
>> This review is for migrating tests from a closed test suite to open.
>
> Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review Comments Fixed: removed redundant class variables

The test ran successfully on Mach5 with multiple runs (30) on windows-x64, linux-x64 and macos-x64.

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

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



More information about the client-libs-dev mailing list