Hello community, here is the log from the commit of package java-11-openj9 for openSUSE:Factory checked in at 2020-04-25 20:25:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-11-openj9 (Old) and /work/SRC/openSUSE:Factory/.java-11-openj9.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-11-openj9" Sat Apr 25 20:25:53 2020 rev:2 rq:796282 version:11.0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-11-openj9/java-11-openj9.changes 2020-02-04 19:52:18.893285261 +0100 +++ /work/SRC/openSUSE:Factory/.java-11-openj9.new.2738/java-11-openj9.changes 2020-04-25 20:28:25.618034735 +0200 @@ -1,0 +2,33 @@ +Wed Apr 22 12:27:23 UTC 2020 - Fridrich Strba <fst...@suse.com> + +- Update to OpenJDK 11.0.7 with OpenJ9 0.20.0 virtual machine + * including Oracle April 2020 CPU changes (bsc#1169511) + * Initial experimental support of 64-bit ARM architecture + * OpenJ9 changes, + see https://www.eclipse.org/openj9/docs/version0.20 +- Added patch: + * aarch64.patch + + fix OpenJ9 linking on aarch64 + + enable omrsig support for aarch64 +- Removed patch: + * DependOnVariableHelper.patch + + integrated in OpenJDK 11.0.7 code-base + +------------------------------------------------------------------- +Wed Apr 15 09:07:59 UTC 2020 - Fridrich Strba <fst...@suse.com> + +- The pack200 and unpack200 alternatives should be slaves of java + and not of javac, since they are part of JRE. + +------------------------------------------------------------------- +Wed Mar 25 14:20:35 UTC 2020 - Martin Liška <mli...@suse.cz> + +- Add gcc-fno-common-fix.patch in order to fix + boo#1167462. + +------------------------------------------------------------------- +Thu Feb 13 15:46:21 UTC 2020 - Andreas Schwab <sch...@suse.de> + +- DependOnVariableHelper.patch: Fix DependOnVariableHelper for make 4.3 + +------------------------------------------------------------------- Old: ---- 51a5857d24eca5e220ccd932bc98e9f1d0438e71.zip 7a1b0239a91f9d8819cb541812b4d774edd5bba4.zip 97897f4e4d7cb61d36ca114cc585ea148ccf9f45.zip New: ---- 05fa2d3611f757a1ca7bd45d7312f99dd60403cc.zip 838028fc9d9a8cb83630927ca476674f5080b1c3.zip aarch64.patch d4365f371ce896bead71bc601cbdb53cc35ab47b.zip gcc-fno-common-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-11-openj9.spec ++++++ --- /var/tmp/diff_new_pack.7cITmJ/_old 2020-04-25 20:28:28.714041119 +0200 +++ /var/tmp/diff_new_pack.7cITmJ/_new 2020-04-25 20:28:28.714041119 +0200 @@ -28,20 +28,20 @@ # Standard JPackage naming and versioning defines. %global featurever 11 %global interimver 0 -%global updatever 6 +%global updatever 7 %global patchver 0 -%global datever 2020-01-14 +%global datever 2020-04-14 %global buildver 10 %global root_repository https://github.com/ibmruntimes/openj9-openjdk-jdk11/archive -%global root_revision 97897f4e4d7cb61d36ca114cc585ea148ccf9f45 -%global root_branch openj9-0.18.1 +%global root_revision 838028fc9d9a8cb83630927ca476674f5080b1c3 +%global root_branch openj9-0.20.0 %global omr_repository https://github.com/eclipse/openj9-omr/archive -%global omr_revision 7a1b0239a91f9d8819cb541812b4d774edd5bba4 -%global omr_branch v0.18.0-release +%global omr_revision d4365f371ce896bead71bc601cbdb53cc35ab47b +%global omr_branch v0.20.0-release %global openj9_repository https://github.com/eclipse/openj9/archive -%global openj9_revision 51a5857d24eca5e220ccd932bc98e9f1d0438e71 -%global openj9_branch v0.18.1-release -%global openj9_tag openj9-0.18.1 +%global openj9_revision 05fa2d3611f757a1ca7bd45d7312f99dd60403cc +%global openj9_branch v0.20.0-release +%global openj9_tag openj9-0.20.0 %global icedtea_sound_version 1.0.1 %global freemarker_version 2.3.29 # JavaEE modules @@ -158,6 +158,8 @@ Patch20: loadAssistiveTechnologies.patch # Patch30: JDK-8208602.patch +Patch31: aarch64.patch +Patch32: gcc-fno-common-fix.patch # # OpenJDK specific patches # @@ -256,7 +258,7 @@ Provides: jre1.7.x Provides: jre1.8.x Provides: jre1.9.x -ExclusiveArch: x86_64 ppc64le s390x +ExclusiveArch: x86_64 ppc64le s390x aarch64 %if %{bootcycle} BuildRequires: java-devel >= 10 BuildConflicts: java-devel >= 12 @@ -444,6 +446,8 @@ %patch20 -p1 %patch30 -p1 +%patch31 -p1 +%patch32 -p1 %patch302 -p1 %patch303 -p1 @@ -490,6 +494,8 @@ --with-version-pre="" \ --with-version-opt="suse-%{release}-%{_arch}" \ --disable-warnings-as-errors \ + --disable-warnings-as-errors-omr \ + --disable-warnings-as-errors-openj9 \ --disable-keep-packaged-modules \ --with-debug-level=%{debugbuild} \ --with-conf-name=%{debugbuild} \ @@ -849,18 +855,24 @@ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ --slave %{_bindir}/jjs jjs %{jrebindir}/jjs \ --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \ + --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \ --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \ --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \ + --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \ --slave %{_mandir}/man1/java.1$ext java.1$ext \ %{_mandir}/man1/java-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jjs.1$ext jjs.1$ext \ %{_mandir}/man1/jjs-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \ %{_mandir}/man1/keytool-%{sdklnk}.1$ext \ + --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \ + %{_mandir}/man1/pack200-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \ %{_mandir}/man1/rmid-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \ %{_mandir}/man1/rmiregistry-%{sdklnk}.1$ext \ + --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \ + %{_mandir}/man1/unpack200-%{sdklnk}.1$ext \ || : update-alternatives \ @@ -934,10 +946,8 @@ --slave %{_bindir}/jshell jshell %{sdkbindir}/jshell \ --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \ --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \ - --slave %{_bindir}/pack200 pack200 %{sdkbindir}/pack200 \ --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \ --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \ - --slave %{_bindir}/unpack200 unpack200 %{sdkbindir}/unpack200 \ --slave %{_mandir}/man1/jar.1$ext jar.1$ext \ %{_mandir}/man1/jar-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \ @@ -948,8 +958,6 @@ %{_mandir}/man1/javadoc-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/javap.1$ext javap.1$ext \ %{_mandir}/man1/javap-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/jcmd.1$ext jcmd.1$ext \ - %{_mandir}/man1/jcmd-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \ %{_mandir}/man1/jconsole-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \ @@ -958,22 +966,12 @@ %{_mandir}/man1/jdeps-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \ %{_mandir}/man1/jmap-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/jps.1$ext jps.1$ext \ - %{_mandir}/man1/jps-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \ %{_mandir}/man1/jrunscript-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \ - %{_mandir}/man1/jstack-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \ - %{_mandir}/man1/jstat-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \ - %{_mandir}/man1/pack200-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \ %{_mandir}/man1/rmic-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \ %{_mandir}/man1/serialver-%{sdklnk}.1$ext \ - --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \ - %{_mandir}/man1/unpack200-%{sdklnk}.1$ext \ --slave %{_datadir}/applications/jconsole.desktop jconsole.desktop \ %{_jvmdir}/%{sdkdir}/lib/desktop/jconsole.desktop \ || : @@ -1051,8 +1049,10 @@ %{_jvmdir}/%{sdkdir}/bin/java %{_jvmdir}/%{sdkdir}/bin/jjs %{_jvmdir}/%{sdkdir}/bin/keytool +%{_jvmdir}/%{sdkdir}/bin/pack200 %{_jvmdir}/%{sdkdir}/bin/rmid %{_jvmdir}/%{sdkdir}/bin/rmiregistry +%{_jvmdir}/%{sdkdir}/bin/unpack200 %{_jvmdir}/%{sdkdir}/conf/logging.properties %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.access %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.password.template @@ -1089,7 +1089,6 @@ %{_jvmdir}/%{sdkdir}/lib/compressedrefs/libj9vrb29.so %{_jvmdir}/%{sdkdir}/lib/compressedrefs/libj9zlib29.so %{_jvmdir}/%{sdkdir}/lib/compressedrefs/libjclse29.so -%{_jvmdir}/%{sdkdir}/lib/compressedrefs/libmanagement.so %{_jvmdir}/%{sdkdir}/lib/compressedrefs/libmanagement_ext.so %{_jvmdir}/%{sdkdir}/lib/compressedrefs/libomrsig.so %{_jvmdir}/%{sdkdir}/lib/ddr/j9ddr.jar @@ -1118,6 +1117,7 @@ %{_jvmdir}/%{sdkdir}/lib/libjsig.so %{_jvmdir}/%{sdkdir}/lib/libjsound.so %{_jvmdir}/%{sdkdir}/lib/liblcms.so +%{_jvmdir}/%{sdkdir}/lib/libmanagement.so %{_jvmdir}/%{sdkdir}/lib/libmanagement_agent.so %{_jvmdir}/%{sdkdir}/lib/libmlib_image.so %{_jvmdir}/%{sdkdir}/lib/libnet.so @@ -1130,7 +1130,7 @@ %{_jvmdir}/%{sdkdir}/lib/libverify.so %{_jvmdir}/%{sdkdir}/lib/libzip.so %{_jvmdir}/%{sdkdir}/lib/modules -%{_jvmdir}/%{sdkdir}/lib/openj9-notices.html +#%{_jvmdir}/%{sdkdir}/lib/openj9-notices.html %{_jvmdir}/%{sdkdir}/lib/options.default %{_jvmdir}/%{sdkdir}/lib/psfontj2d.properties %{_jvmdir}/%{sdkdir}/lib/psfont.properties.ja @@ -1146,8 +1146,10 @@ %{_mandir}/man1/java-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jjs-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/keytool-%{sdklnk}.1%{?ext_man} +%{_mandir}/man1/pack200-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmid-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmiregistry-%{sdklnk}.1%{?ext_man} +%{_mandir}/man1/unpack200-%{sdklnk}.1%{?ext_man} %files devel %dir %{_jvmdir}/%{sdkdir}/bin @@ -1176,11 +1178,9 @@ %{_jvmdir}/%{sdkdir}/bin/jshell %{_jvmdir}/%{sdkdir}/bin/jstack %{_jvmdir}/%{sdkdir}/bin/jstat -%{_jvmdir}/%{sdkdir}/bin/pack200 %{_jvmdir}/%{sdkdir}/bin/rmic %{_jvmdir}/%{sdkdir}/bin/serialver %{_jvmdir}/%{sdkdir}/bin/traceformat -%{_jvmdir}/%{sdkdir}/bin/unpack200 %{_jvmdir}/%{sdkdir}/include/classfile_constants.h %{_jvmdir}/%{sdkdir}/include/ibmjvmti.h %{_jvmdir}/%{sdkdir}/include/jawt.h @@ -1199,19 +1199,13 @@ %{_mandir}/man1/javac-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javadoc-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javap-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/jcmd-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jconsole-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jdb-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jdeps-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jmap-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/jps-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jrunscript-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/jstack-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/jstat-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/pack200-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmic-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/serialver-%{sdklnk}.1%{?ext_man} -%{_mandir}/man1/unpack200-%{sdklnk}.1%{?ext_man} %files jmods %dir %{_jvmdir}/%{sdkdir}/jmods ++++++ aarch64.patch ++++++ --- openj9-openjdk-jdk11/omr/ddr/tools/ddrgen/Makefile 2020-04-21 15:53:10.964314332 +0200 +++ openj9-openjdk-jdk11/omr/ddr/tools/ddrgen/Makefile 2020-04-21 15:53:55.292575567 +0200 @@ -35,15 +35,9 @@ $(top_srcdir)/include_core ifeq (linux,$(OMR_HOST_OS)) - MODULE_SHARED_LIBS += rt pthread dwarf - ifeq (x86,$(OMR_HOST_ARCH)) - MODULE_SHARED_LIBS += elf - endif - ifeq (ppc,$(OMR_HOST_ARCH)) - MODULE_SHARED_LIBS += elf - endif + MODULE_SHARED_LIBS += rt pthread dwarf elf ifeq (s390,$(OMR_HOST_ARCH)) - MODULE_SHARED_LIBS += elf z + MODULE_SHARED_LIBS += z endif endif --- openj9-openjdk-jdk11/openj9/buildspecs/linux_aarch64_cmprssptrs.spec 2020-04-21 15:53:11.364316690 +0200 +++ openj9-openjdk-jdk11/openj9/buildspecs/linux_aarch64_cmprssptrs.spec 2020-04-21 19:13:31.087227448 +0200 @@ -223,7 +223,7 @@ <flag id="opt_zipSupport" value="true"/> <flag id="opt_zlibCompression" value="true"/> <flag id="opt_zlibSupport" value="true"/> - <flag id="port_omrsigSupport" value="false"/> + <flag id="port_omrsigSupport" value="true"/> <flag id="port_signalSupport" value="true"/> <flag id="prof_eventReporting" value="true"/> <flag id="ras_dumpAgents" value="true"/> --- openj9-openjdk-jdk11/openj9/buildspecs/linux_aarch64.spec 2020-04-21 15:53:11.364316690 +0200 +++ openj9-openjdk-jdk11/openj9/buildspecs/linux_aarch64.spec 2020-04-21 19:13:31.087227448 +0200 @@ -222,7 +222,7 @@ <flag id="opt_zipSupport" value="true"/> <flag id="opt_zlibCompression" value="true"/> <flag id="opt_zlibSupport" value="true"/> - <flag id="port_omrsigSupport" value="false"/> + <flag id="port_omrsigSupport" value="true"/> <flag id="port_signalSupport" value="true"/> <flag id="prof_eventReporting" value="true"/> <flag id="ras_dumpAgents" value="true"/> ++++++ gcc-fno-common-fix.patch ++++++ >From a59e8a7f6fed2accd1034eebf16545ef78c3ea1b Mon Sep 17 00:00:00 2001 From: Patrick Zhang <patr...@os.amperecomputing.com> Date: Tue, 4 Feb 2020 21:27:10 +0800 Subject: [PATCH] 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10 Reviewed-by: stuefe, clanger, rriggs --- src/java.base/unix/native/libjava/childproc.c | 3 ++- src/java.base/unix/native/libjava/childproc.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/java.base/unix/native/libjava/childproc.c b/src/java.base/unix/native/libjava/childproc.c index 811aaeac5f..1044b8ee22 100644 --- a/src/java.base/unix/native/libjava/childproc.c +++ b/src/java.base/unix/native/libjava/childproc.c @@ -34,6 +34,7 @@ #include "childproc.h" +const char * const *parentPathv; ssize_t restartableWrite(int fd, const void *buf, size_t count) diff --git a/src/java.base/unix/native/libjava/childproc.h b/src/java.base/unix/native/libjava/childproc.h index 0911509302..2190dd1792 100644 --- a/src/java.base/unix/native/libjava/childproc.h +++ b/src/java.base/unix/native/libjava/childproc.h @@ -126,7 +126,7 @@ typedef struct _SpawnInfo { * The cached and split version of the JDK's effective PATH. * (We don't support putenv("PATH=...") in native code) */ -const char * const *parentPathv; +extern const char * const *parentPathv; ssize_t restartableWrite(int fd, const void *buf, size_t count); int restartableDup2(int fd_from, int fd_to); -- 2.25.1 >From 1d42f083c1b64e68eec19471c3f7045c6cbc841f Mon Sep 17 00:00:00 2001 From: Patrick Zhang <qpzh...@openjdk.org> Date: Wed, 5 Feb 2020 17:14:15 +0800 Subject: [PATCH] 8238386: (sctp) jdk.sctp/unix/native/libsctp/SctpNet.c "multiple definition" link errors with GCC10 Fixed libsctp link errors caused by GCC10 default -fno-common Reviewed-by: chegar --- src/jdk.sctp/unix/native/libsctp/Sctp.h | 14 +++++++------- src/jdk.sctp/unix/native/libsctp/SctpNet.c | 9 ++++++++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/jdk.sctp/unix/native/libsctp/Sctp.h b/src/jdk.sctp/unix/native/libsctp/Sctp.h index cc1367f781..d6810d61be 100644 --- a/src/jdk.sctp/unix/native/libsctp/Sctp.h +++ b/src/jdk.sctp/unix/native/libsctp/Sctp.h @@ -322,12 +322,12 @@ typedef int sctp_peeloff_func(int sock, sctp_assoc_t id); #endif /* __linux__ */ -sctp_getladdrs_func* nio_sctp_getladdrs; -sctp_freeladdrs_func* nio_sctp_freeladdrs; -sctp_getpaddrs_func* nio_sctp_getpaddrs; -sctp_freepaddrs_func* nio_sctp_freepaddrs; -sctp_bindx_func* nio_sctp_bindx; -sctp_peeloff_func* nio_sctp_peeloff; +extern sctp_getladdrs_func* nio_sctp_getladdrs; +extern sctp_freeladdrs_func* nio_sctp_freeladdrs; +extern sctp_getpaddrs_func* nio_sctp_getpaddrs; +extern sctp_freepaddrs_func* nio_sctp_freepaddrs; +extern sctp_bindx_func* nio_sctp_bindx; +extern sctp_peeloff_func* nio_sctp_peeloff; jboolean loadSocketExtensionFuncs(JNIEnv* env); diff --git a/src/jdk.sctp/unix/native/libsctp/SctpNet.c b/src/jdk.sctp/unix/native/libsctp/SctpNet.c index d40c15aa35..b8d0ad8ab2 100644 --- a/src/jdk.sctp/unix/native/libsctp/SctpNet.c +++ b/src/jdk.sctp/unix/native/libsctp/SctpNet.c @@ -43,6 +43,13 @@ static jmethodID isaCtrID = 0; static const char* nativeSctpLib = "libsctp.so.1"; static jboolean funcsLoaded = JNI_FALSE; +sctp_getladdrs_func* nio_sctp_getladdrs; +sctp_freeladdrs_func* nio_sctp_freeladdrs; +sctp_getpaddrs_func* nio_sctp_getpaddrs; +sctp_freepaddrs_func* nio_sctp_freepaddrs; +sctp_bindx_func* nio_sctp_bindx; +sctp_peeloff_func* nio_sctp_peeloff; + JNIEXPORT jint JNICALL DEF_JNI_OnLoad (JavaVM *vm, void *reserved) { return JNI_VERSION_1_2; -- 2.25.1 >From 03721247d8f3d6b2aefe2826a59c10fd1fad51cb Mon Sep 17 00:00:00 2001 From: Patrick Zhang <qpzh...@openjdk.org> Date: Wed, 5 Feb 2020 20:31:09 +0800 Subject: [PATCH] 8238388: libj2gss/NativeFunc.o "multiple definition" link errors with GCC10 Fixed libj2gss link errors caused by GCC10 default -fno-common Reviewed-by: weijun --- src/java.security.jgss/share/native/libj2gss/NativeFunc.c | 5 ++++- src/java.security.jgss/share/native/libj2gss/NativeFunc.h | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/java.security.jgss/share/native/libj2gss/NativeFunc.c b/src/java.security.jgss/share/native/libj2gss/NativeFunc.c index da7bc0445b..577b6ec5be 100644 --- a/src/java.security.jgss/share/native/libj2gss/NativeFunc.c +++ b/src/java.security.jgss/share/native/libj2gss/NativeFunc.c @@ -27,6 +27,9 @@ #include <stdlib.h> #include "NativeFunc.h" +/* global GSS function table */ +GSS_FUNCTION_TABLE_PTR ftab; + /* standard GSS method names (ordering is from mapfile) */ static const char RELEASE_NAME[] = "gss_release_name"; static const char IMPORT_NAME[] = "gss_import_name"; diff --git a/src/java.security.jgss/share/native/libj2gss/NativeFunc.h b/src/java.security.jgss/share/native/libj2gss/NativeFunc.h index 82914387c2..d695120122 100644 --- a/src/java.security.jgss/share/native/libj2gss/NativeFunc.h +++ b/src/java.security.jgss/share/native/libj2gss/NativeFunc.h @@ -277,6 +277,6 @@ typedef struct GSS_FUNCTION_TABLE { typedef GSS_FUNCTION_TABLE *GSS_FUNCTION_TABLE_PTR; /* global GSS function table */ -GSS_FUNCTION_TABLE_PTR ftab; +extern GSS_FUNCTION_TABLE_PTR ftab; #endif -- 2.25.1