RFR: 8194870: Some regression tests throw NPE exception on a specific Solaris 11.2 sun4v sparc machine
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Fri Feb 16 23:19:57 UTC 2018
On 2018-02-17 00:04, Phil Race wrote:
> 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
> 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), \
Looks good to me.
But the inter-relationship between the awt libraries is really messy.
:-( I think it would be worth the effort to try and pry them apart more
More information about the build-dev