<AWT Dev> Integrated: 8263420: Incorrect function name in NSAccessibilityStaticText native peer implementation
Pankaj Bansal
pbansal at openjdk.java.net
Tue Mar 16 05:01:06 UTC 2021
On Thu, 11 Mar 2021 07:57:23 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:
> The implementation of NSAccessibilityStaticText protocol (https://developer.apple.com/documentation/appkit/nsaccessibilitystatictext) has an incorrect function name which results in the function not being called by Voice Over. The Voice Over output is not getting affected by this bug as the accessibilityValue function returns the correct label value and Voice Over output is correct in all the Label test cases which were tested while implementing the NSAccessibilityStaticText, like few cases in this in following demo. This is the reason that this issue was not caught in testing. (https://docs.oracle.com/javase/tutorial/uiswing/examples/components/LabelDemoProject/src/components/LabelDemo.java).
>
> Though it does not seem to cause any issue as of now and I still could not find a testcase where it is causing any difference in Voice Over output, this may create problem in future. The functions is getting called by Voice Over after this fix, so this should be fixed.
This pull request has now been integrated.
Changeset: d896246a
Author: Pankaj Bansal <pbansal at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d896246a
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
8263420: Incorrect function name in NSAccessibilityStaticText native peer implementation
Reviewed-by: kizune
-------------
PR: https://git.openjdk.java.net/jdk/pull/2933
More information about the awt-dev
mailing list