JDK-8198649 : Switch AWT/Swing's default GTK version to 3
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-23
  • Updated: 2020-02-17
  • Resolved: 2018-03-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 Other
11 b07Fixed openjdk8u242Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8203311 :  
Description
In JDK 9 we enabled GTK3 support as opt in via a system property.

See http://openjdk.java.net/jeps/283
And https://bugs.openjdk.java.net/browse/JDK-8145547

However the default remained GTK2 due to concern over testing/bake time.

Now it has been almost 2 years since it was pushed to 9 without
any reports of major  issues, and the next release (11) will be an LTS
which may need to run on systems which do not have GTK2.2 any more
we should switch the default, with the opt-in being to switch back to 2.2
This should be a simple minor code change, but with appropriate testing.

It probably still merits a release note and  a CSR.

It should be coordinated with the same change in JavaFX.
Comments
I filed JDK-8198654 to switch the FX default to 3.
23-02-2018