JDK-8207322 : [Client-Libs] Backport GTK3 support on Linux to 8u
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2018-07-15
  • Updated: 2019-03-19
  • Resolved: 2018-11-23
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 8
8u202 b02Fixed
Related Reports
Cloners :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8213485 :  
Description
GTK3 support on Linux has been implemented using JEP 283: JDK-8145568
This taks is created to capture the estimate including test need and implement it in 8u client-libs
Related Bugs

1. JDK-8145547 -[AWT/Swing] Conditional support for GTK 3 on Linux
2. JDK-8198649 - Switch AWT/Swing's default GTK version to 3




Comments
We have backported the following bugs as part of the backport along with the original enhancement https://bugs.openjdk.java.net/browse/JDK-8145547 1. https://bugs.openjdk.java.net/browse/JDK-8155772: gtk3_interface.c compilation error on Ubuntu 12.10 2. https://bugs.openjdk.java.net/browse/JDK-8156020: 8145547 breaks AIX and and uses RTLD_NOLOAD incorrectly 3. https://bugs.openjdk.java.net/browse/JDK-8156121: Fail forward" fails for GTK3 if no GTK2 available 4. https://bugs.openjdk.java.net/browse/JDK-8156128: Tests for [AWT/Swing] Conditional support for GTK 3 on Linux 5. https://bugs.openjdk.java.net/browse/JDK-8157827: AWT_Desktop/Automated/Exceptions/BasicTest loads incorrect GTK version when jdk.gtk.version=3 6. https://bugs.openjdk.java.net/browse/JDK-8160160: The menu displayed nothing with the option"-server -d64 -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel". 7. https://bugs.openjdk.java.net/browse/JDK-8191041: Questionable Rendering of Disabled Text in Swing GTK L&F 8. https://bugs.openjdk.java.net/browse/JDK-8203003: Several FileDialog Modality Tests fail on Linux due to X errors 9. https://bugs.openjdk.java.net/browse/JDK-8155784: Build failure on Linux arm64 10. https://bugs.openjdk.java.net/browse/JDK-8152968: JTree Collapse Buttons Clipped Off Under GTK 11. https://bugs.openjdk.java.net/browse/JDK-8160448: Make GTK3 menus appearence similar to native. 12. https://bugs.openjdk.java.net/browse/JDK-8155613: [PIT] crash in AWT_Desktop/Automated/Exceptions/BasicTest 13. https://bugs.openjdk.java.net/browse/JDK-8160054: The FileChooser didn't displayed large font with GTK LAF option. 14. https://bugs.openjdk.java.net/browse/JDK-8164321: Crash of SwingNode with GTK LaF 15. https://bugs.openjdk.java.net/browse/JDK-8161740: [parfait] Memory leak in Java_sun_awt_UNIXToolkit_load_1gtk_1icon of awt_UNIXToolkit.c:132 16. https://bugs.openjdk.java.net/browse/JDK-8168077: Solaris build failed: gtk2_interface.h typedef redeclared: GThreadFunctions This is the final approved webrev http://cr.openjdk.java.net/~pbansal/gtk3_backport/webrev.03/
11-10-2018

Note that we will use this JBS bug ID (JDK-8207322) to push the 8u backport of the GTK 3 support including all of the necessary following bug fixes.
05-10-2018

This task is only for evaluation of the backport changes. I think this task should be closed & we should create a Backport bug of JDK-8145547 for actual implementation.
08-08-2018