<AWT Dev> RFR: 8267066: New NSAccessibility peers should return they roles and subroles directly

Pankaj Bansal pbansal at openjdk.java.net
Tue May 25 05:50:02 UTC 2021


On Mon, 24 May 2021 11:03:35 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Made all implementing classes return their roles directly.
> Change nullability attributes to the singular style across new classes.

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/StaticTextAccessibility.h line 39:

> 37: - (NSAccessibilityRole _Nonnull)accessibilityRole;
> 38: - (nullable NSString *)accessibilityAttributedStringForRange:(NSRange)range;
> 39: - (nullable NSString *)accessibilityValue;

You missed these here in .h file

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

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


More information about the awt-dev mailing list