On Wed, 3 Dec 2025 21:02:21 GMT, Alexander Zuev <[email protected]> wrote:
>> src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/MenuAccessibility.m
>> line 71:
>>
>>> 69:
>>> fAccessible, fComponent);
>>> 70:
>>> 71: if (axComponent == nil) {
>>
>> Dont we need to call `CHECK_EXCEPTION()` as we were calling JNI?
>
> Sure, adding check.
I might be wrong as CAccessibility already catches the exception it seems but
no harm checking I guess
https://github.com/openjdk/jdk/blob/04c0f8d359a3f450ac2070c6d41834145d9c75f7/src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java#L131-L136
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28614#discussion_r2587182186