RFR: 8194870: Some regression tests throw NPE exception on a specific Solaris 11.2 sun4v sparc machine

Phil Race philip.race at oracle.com
Fri Feb 16 23:04:45 UTC 2018


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.



More information about the build-dev mailing list