8150456: jdk 9 nightly build fails on Windows 32 bit
Reviewed-by: tbell, ihse
This commit is contained in:
parent
aa585fa3cf
commit
c542850197
@ -225,7 +225,7 @@ $(eval $(call SetupNativeCompilation,BUILD_LIBZIP, \
|
|||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LDFLAGS_windows := -export:ZIP_Open -export:ZIP_Close -export:ZIP_FindEntry \
|
LDFLAGS_windows := -export:ZIP_Open -export:ZIP_Close -export:ZIP_FindEntry \
|
||||||
-export:ZIP_ReadEntry -export:ZIP_GetNextEntry \
|
-export:ZIP_ReadEntry -export:ZIP_GetNextEntry \
|
||||||
-export:ZIP_InflateFully, \
|
-export:ZIP_InflateFully -export:ZIP_CRC32, \
|
||||||
LIBS_unix := -ljvm -ljava $(LIBZ), \
|
LIBS_unix := -ljvm -ljava $(LIBZ), \
|
||||||
LIBS_solaris := -lc, \
|
LIBS_solaris := -lc, \
|
||||||
LIBS_windows := jvm.lib $(WIN_JAVA_LIB), \
|
LIBS_windows := jvm.lib $(WIN_JAVA_LIB), \
|
||||||
|
@ -54,7 +54,7 @@ Java_java_util_zip_CRC32_updateBytes0(JNIEnv *env, jclass cls, jint crc,
|
|||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT jint JNICALL
|
jint JNICALL
|
||||||
ZIP_CRC32(jint crc, const jbyte *buf, jint len)
|
ZIP_CRC32(jint crc, const jbyte *buf, jint len)
|
||||||
{
|
{
|
||||||
return crc32(crc, (Bytef*)buf, len);
|
return crc32(crc, (Bytef*)buf, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user