Integrated: 8203463: [Accessibility, Narrator] NPE in TableView
eduardsdv
duke at openjdk.java.net
Wed Dec 22 17:27:13 UTC 2021
On Wed, 22 Dec 2021 08:59:53 GMT, eduardsdv <duke at openjdk.java.net> wrote:
> The NullPointer occurs when `Accessible.getAttribute(Object)` returns null.
> I checked all places where the `getAttribute(..)` method is called. Everywhere it is checked for null `(Accessible,` `MacAccessible,` `WinAccessible,` `WinTextRangeProvider`). Only at this one place in `WinAccessible.GetPatternProvider(int)` it is missing.
>
> This PR adds this missing null-check in the `WinAccessible.GetPatternProvider(int)` method.
This pull request has now been integrated.
Changeset: c705bd49
Author: eduardsdv <53449139+eduardsdv at users.noreply.github.com>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/c705bd493931d88650542be5466d6add359f45b9
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
8203463: [Accessibility, Narrator] NPE in TableView
Reviewed-by: kcr
-------------
PR: https://git.openjdk.java.net/jfx/pull/700
More information about the openjfx-dev
mailing list