diff --git a/closed/openjdk-tag.gmk b/closed/openjdk-tag.gmk index 8aff2f9ff01..bdfa6a909f5 100644 --- a/closed/openjdk-tag.gmk +++ b/closed/openjdk-tag.gmk @@ -1 +1 @@ -OPENJDK_TAG := jdk-17.0.7+5 +OPENJDK_TAG := jdk-17.0.7+6 diff --git a/make/autoconf/flags-cflags.m4 b/make/autoconf/flags-cflags.m4 index ea1d62685db..96d68b587f1 100644 --- a/make/autoconf/flags-cflags.m4 +++ b/make/autoconf/flags-cflags.m4 @@ -641,7 +641,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER], STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1" if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \ - -DJNIEXPORT='__attribute__((visibility(\"hidden\")))'" + -DJNIEXPORT='__attribute__((visibility(\"default\")))'" else STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT=" fi