On Tue, 17 Mar 2026 17:49:51 GMT, Alexander Zvegintsev <[email protected]> wrote:
> `Java_com_sun_java_swing_plaf_gtk_GTKLookAndFeel_applyThemeIfNeeded` has a > `jboolean` return type (aka `unsigned char`, 8 bit). > > `apply_theme_if_needed` has a `gboolean` return type (32 bit). > > However, there is no issue with this implicit conversion, as we are only > using `0` and `1` as values. > > This fix uses `result ? JNI_TRUE : JNI_FALSE` to remove the warning and > adhere to standard practices. Marked as reviewed by serb (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/30284#pullrequestreview-3969582855
