8215123: Crash in runtime image built with jlink --compress=2
authoraivanov
Tue, 11 Dec 2018 14:11:57 +0000
changeset 53178 818b7bf2af49
parent 52973 a659ccd1888d
child 53179 760293737af0
8215123: Crash in runtime image built with jlink --compress=2 Reviewed-by: ihse, alanb
src/java.base/share/native/libjimage/imageDecompressor.cpp
--- a/src/java.base/share/native/libjimage/imageDecompressor.cpp	Tue Dec 11 11:45:43 2018 +0530
+++ b/src/java.base/share/native/libjimage/imageDecompressor.cpp	Tue Dec 11 14:11:57 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -38,8 +38,8 @@
 #include <dlfcn.h>
 #endif
 
-typedef jboolean (JNICALL *ZipInflateFully_t)(void *inBuf, jlong inLen,
-                                              void *outBuf, jlong outLen, char **pmsg);
+typedef jboolean (*ZipInflateFully_t)(void *inBuf, jlong inLen,
+                                      void *outBuf, jlong outLen, char **pmsg);
 static ZipInflateFully_t ZipInflateFully        = NULL;
 
 #ifndef WIN32