Integrated: JDK-8282778: Create a regression test for JDK-4699544

Srinivas Mandalika smandalika at openjdk.java.net
Tue May 31 19:42:49 UTC 2022


On Tue, 8 Mar 2022 08:26:11 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.

This pull request has now been integrated.

Changeset: cfdbde11
Author:    Srinivas Mandalika <smandalika at openjdk.org>
Committer: Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cfdbde11f0bc2b61590eec2aaa9906f13c64e19e
Stats:     58 lines in 1 file changed: 58 ins; 0 del; 0 mod

8282778: Create a regression test for JDK-4699544

Reviewed-by: kizune, serb

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

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



More information about the client-libs-dev mailing list