RFR: 8372757: MacOS, Accessibility: Crash in [MenuAccessibility accessibilityChildren] after JDK-8341311

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Dec 3 03:44:58 UTC 2025


On Tue, 2 Dec 2025 20:03:21 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Perform null check before requesting information for the popup component and return nil if component is no longer exists.

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?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28614#discussion_r2583518096


More information about the client-libs-dev mailing list