8150497: 32 jshell tests failed on Windows 32 bit
authorerikj
Fri, 26 Feb 2016 06:03:12 +0100
changeset 36134 63514f38c74c
parent 36133 07771c8c1e76
child 36135 047c192e2671
8150497: 32 jshell tests failed on Windows 32 bit Reviewed-by: darcy, tbell
jdk/make/lib/Lib-jdk.jdi.gmk
jdk/make/lib/Lib-jdk.jdwp.agent.gmk
jdk/src/jdk.jdi/share/native/libdt_shmem/shmemBack.c
jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c
--- a/jdk/make/lib/Lib-jdk.jdi.gmk	Fri Feb 26 09:55:14 2016 +0800
+++ b/jdk/make/lib/Lib-jdk.jdi.gmk	Fri Feb 26 06:03:12 2016 +0100
@@ -47,6 +47,7 @@
       CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \
           $(LIBDT_SHMEM_CPPFLAGS), \
       LDFLAGS := $(LDFLAGS_JDKLIB), \
+      LDFLAGS_windows := -export:jdwpTransport_OnLoad, \
       LIBS := $(JDKLIB_LIBS), \
       VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
       RC_FLAGS := $(RC_FLAGS) \
--- a/jdk/make/lib/Lib-jdk.jdwp.agent.gmk	Fri Feb 26 09:55:14 2016 +0800
+++ b/jdk/make/lib/Lib-jdk.jdwp.agent.gmk	Fri Feb 26 06:03:12 2016 +0100
@@ -46,6 +46,7 @@
     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libdt_socket/mapfile-vers, \
     LDFLAGS := $(LDFLAGS_JDKLIB) \
         $(call SET_SHARED_LIBRARY_ORIGIN), \
+    LDFLAGS_windows := -export:jdwpTransport_OnLoad, \
     LIBS_linux := -lpthread, \
     LIBS_solaris := -lnsl -lsocket -lc, \
     LIBS_windows := $(JDKLIB_LIBS) ws2_32.lib, \
--- a/jdk/src/jdk.jdi/share/native/libdt_shmem/shmemBack.c	Fri Feb 26 09:55:14 2016 +0800
+++ b/jdk/src/jdk.jdi/share/native/libdt_shmem/shmemBack.c	Fri Feb 26 06:03:12 2016 +0100
@@ -338,7 +338,7 @@
     return JDWPTRANSPORT_ERROR_NONE;
 }
 
-JNIEXPORT jint JNICALL
+jint JNICALL
 jdwpTransport_OnLoad(JavaVM *vm, jdwpTransportCallback* cbTablePtr,
                      jint version, jdwpTransportEnv** result)
 {
--- a/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c	Fri Feb 26 09:55:14 2016 +0800
+++ b/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c	Fri Feb 26 06:03:12 2016 +0100
@@ -784,7 +784,7 @@
     return JDWPTRANSPORT_ERROR_NONE;
 }
 
-JNIEXPORT jint JNICALL
+jint JNICALL
 jdwpTransport_OnLoad(JavaVM *vm, jdwpTransportCallback* cbTablePtr,
                      jint version, jdwpTransportEnv** result)
 {