-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 17, 21, 23
-
b07
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342594 | 23.0.2 | Alexey Ivanov | P4 | Resolved | Fixed | b03 |
JDK-8338421 | 21.0.6-oracle | Harshitha Onkar | P4 | Resolved | Fixed | b01 |
JDK-8339815 | 21.0.6 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8338416 | 17.0.14-oracle | Harshitha Onkar | P4 | Resolved | Fixed | b01 |
JDK-8339812 | 17.0.14 | Andrew Lu | P4 | Resolved | Fixed | b01 |
Two typedef declarations are causing this issue - GMainContext, GdkPixbuf
The problem is that they are defined in gtk_interface.h but then redefined in gtk2_interface.h and gtk3_interface.h
The fix is to remove the redeclarations in gtk2_interface.h and gtk3_interface.h
[2024-07-14T16:49:41,763Z] === Output from failing command(s) repeated here ===
[2024-07-14T16:49:41,767Z] * For target support_native_java.desktop_libawt_xawt_gtk2_interface.o:
[2024-07-14T16:49:41,772Z] "open/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h", line 53: error: typedef redeclared: GMainContext (E_TYPEDEF_REDECLARED)
[2024-07-14T16:49:41,772Z] cc: acomp failed for ./open/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
[2024-07-14T16:49:41,782Z] * For target support_native_java.desktop_libawt_xawt_gtk3_interface.o:
[2024-07-14T16:49:41,787Z] "open/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.h", line 179: error: typedef redeclared: GMainContext (E_TYPEDEF_REDECLARED)
- backported by
-
JDK-8338416 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
-
- Resolved
-
-
JDK-8338421 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
-
- Resolved
-
-
JDK-8339812 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
-
- Resolved
-
-
JDK-8339815 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
-
- Resolved
-
-
JDK-8342594 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk17u-dev/49624e7d
-
Commit(master) openjdk/jdk21u-dev/fbdaf08c
-
Commit(master) openjdk/jdk23u/f3be5928
-
Commit(master) openjdk/jdk/69baa7d2
-
Review(master) openjdk/jdk17u-dev/2857
-
Review(master) openjdk/jdk21u-dev/960
-
Review(master) openjdk/jdk23u/168
-
Review(master) openjdk/jdk/20186