RFR: 8378057: CAccessibility roleKey and AWTAccessor.AccessibleBundleAccessor are Redundant [v2]

Jeremy Wood jwood at openjdk.org
Tue Feb 24 06:44:22 UTC 2026


On Tue, 24 Feb 2026 06:28:03 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Jeremy Wood has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8378057: changing null check
>>   
>>   This is in response to:
>>   https://github.com/openjdk/jdk/pull/29868#discussion_r2844805891
>
> src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java line 1041:
> 
>> 1039:                     String roleStr = role == null ? null :
>> 1040:                             AWTAccessor.getAccessibleBundleAccessor().getKey(role);
>> 1041:                     if (role != null && ignoredRoles != null &&
> 
> this can be changed to roleStr != null?

OK

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29868#discussion_r2844862810


More information about the client-libs-dev mailing list