--- a/jdk/make/lib/CoreLibraries.gmk Tue Feb 23 17:19:28 2016 -0500
+++ b/jdk/make/lib/CoreLibraries.gmk Wed Feb 24 00:14:23 2016 +0100
@@ -225,7 +225,7 @@
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_windows := -export:ZIP_Open -export:ZIP_Close -export:ZIP_FindEntry \
-export:ZIP_ReadEntry -export:ZIP_GetNextEntry \
- -export:ZIP_InflateFully, \
+ -export:ZIP_InflateFully -export:ZIP_CRC32, \
LIBS_unix := -ljvm -ljava $(LIBZ), \
LIBS_solaris := -lc, \
LIBS_windows := jvm.lib $(WIN_JAVA_LIB), \
--- a/jdk/src/java.base/share/native/libzip/CRC32.c Tue Feb 23 17:19:28 2016 -0500
+++ b/jdk/src/java.base/share/native/libzip/CRC32.c Wed Feb 24 00:14:23 2016 +0100
@@ -54,7 +54,7 @@
return crc;
}
-JNIEXPORT jint JNICALL
+jint JNICALL
ZIP_CRC32(jint crc, const jbyte *buf, jint len)
{
return crc32(crc, (Bytef*)buf, len);