Bug: https://bugs.openjdk.java.net/browse/JDK-8194870
diff inline below :
It seems to be sufficient to make this change.
If there is some Sun Studio / linker args needed to ensure the undefined symbols
are allowed they are apparently already present ..

Details in the bug report. And as noted there I have left the AIX line alone.

diff --git a/make/lib/Awt2dLibraries.gmk b/make/lib/Awt2dLibraries.gmk
--- a/make/lib/Awt2dLibraries.gmk
+++ b/make/lib/Awt2dLibraries.gmk
@@ -691,7 +691,7 @@
     LIBS := $(BUILD_LIBFONTMANAGER_FONTLIB), \
     LIBS_unix := -lawt -ljava -ljvm $(LIBM) $(LIBCXX), \
     LIBS_linux := -lc, \
-    LIBS_solaris := -lawt_headless -lc, \
+    LIBS_solaris := -lc, \
     LIBS_aix := -lawt_headless,\
     LIBS_windows := $(WIN_JAVA_LIB) advapi32.lib user32.lib gdi32.lib \
         $(WIN_AWT_LIB), \

-phil.

Reply via email to