changeset 54238:818b7bf2af49

8215123: Crash in runtime image built with jlink --compress=2 Reviewed-by: ihse, alanb
author aivanov
date Tue, 11 Dec 2018 14:11:57 +0000
parents a659ccd1888d
children 760293737af0
files src/java.base/share/native/libjimage/imageDecompressor.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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