<AWT Dev> RFR: 8261351: Create implementation for NSAccessibilityRadioButton protocol

Pankaj Bansal pbansal at openjdk.java.net
Sat Feb 13 05:33:39 UTC 2021


On Sat, 13 Feb 2021 05:01:17 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> 8261351: Create implementation for NSAccessibilityRadioButton protocol

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/RadiobuttonAccessibility.h line 35:

> 33: 
> 34: };
> 35: - (id)accessibilityValue;

The NSAccessibilityRadioButton protocol has NSNumber as return type. Is it fine to return id? I know id will be NSNumber pointer, but should not we make it clear that NSNumber is supposed to be returned?

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

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


More information about the awt-dev mailing list