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

Pankaj Bansal pbansal at openjdk.java.net
Sat Feb 13 05:30:40 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.m line 39:

> 37:     AWT_ASSERT_APPKIT_THREAD;
> 38:     id value = [self accessibilityValueAttribute];
> 39:     return value;

Why to create value variable? Can we just do "return [self accessibilityValueAttribute];"

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

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


More information about the awt-dev mailing list