On Fri, 30 Oct 2026 11:46:14 GMT, Matthias Baesken <[email protected]> wrote:

> In X11GD_CreateDisplayMode we check for NULL after GetMethodID and FindClass 
> which is probably a good thing.
> https://github.com/openjdk/jdk/blob/8e8e30d71cc8f77d81170205a4627191e5201568/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c#L1638
> 
> https://github.com/openjdk/jdk/blob/8e8e30d71cc8f77d81170205a4627191e5201568/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c#L1646
> 
> But we do it twice (!) which is most likely not needed.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by clanger (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/33647#pullrequestreview-5733403432

Reply via email to