RFR: 8329471: Remove GTK2 [v4]
Phil Race
prr at openjdk.org
Wed Jul 31 18:32:32 UTC 2024
On Tue, 30 Jul 2024 17:51:06 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> GTK2 support for Swing/AWT was deprecated for removal in JDK 21.
>>
>> It's being removed because no platform that supports the JDK needs it.
>>
>> Manual and automated testing is green.
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>
> more cleanup
src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKPainter.java line 215:
> 213: if (gtkState == SynthConstants.MOUSE_OVER) {
> 214: if (GTKLookAndFeel.is3()) {
> 215: paintComponentBackground(context, g, x, y, w, h);
So do we really need the is3() check ?? Seems like not to me. Same for the case below at line 573.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20378#discussion_r1698939219
More information about the client-libs-dev
mailing list