<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:41:05 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/CheckboxAccessibility.h line 32:

> 30: };
> 31: - (NSAccessibilityRole _Nonnull)accessibilityRole;
> 32: - (id _Nonnull)accessibilityValue;

Looks like the value can be null. No?

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

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


More information about the awt-dev mailing list