JDK-8145547 : [AWT/Swing] Conditional support for GTK 3 on Linux
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: generic
  • Submitted: 2015-12-16
  • Updated: 2020-04-29
  • Resolved: 2016-04-25
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.
9 b117Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
The items to implement: 
- adapt the existing dynamic GTK shim to support GTK 3 as well
- rework Swing GTK LnF to support GTK-3
- migrate FileChooserDialog peer to GTK-3
- migrate AwtRobot to GTK-3 (or maybe remove dependency on any GTK)

Note that the 8u backport for this fix, along with the follow-on fixes for various GTK 3 issues, is tracked by JDK-8207322 and will be pushed using that bug ID and not this one.

The first revision of AWT/Swing chages is submitted on review: http://mail.openjdk.java.net/pipermail/swing-dev/2016-March/005440.html webrev: http://cr.openjdk.java.net/~ssadetsky/8145547/webrev.00/ The fix contains GTK3 based implementation for Swing GTK LnF, AWT FileChooser for Linux and AWT Robot for Linux. Also the new system property is added to request specific GTK version swing.gtk.version.

Assigned to Semyon as discussed on the meeting.