RFR: 8361379: [macos] Refactor accessibility code to retrieve attribute by name [v3]
Alexander Zuev
kizune at openjdk.org
Wed Jul 9 15:45:52 UTC 2025
On Wed, 9 Jul 2025 14:54:48 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> But that would require two conditions - one for position and one for size - with the same logic which would look not that compact and pretty.
>
> but it will save a couple of nanoseconds!
>
> the code is ok. one question though: what are the circumstances when these calls would return NULL?
1. Custom component that has no role assigned at all
2. Exception happens on Java side processing the request
That was just two popped out - probably there are more scenarios.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1840#discussion_r2195351917
More information about the openjfx-dev
mailing list