changeset 49149:217780dff1bf

8198898: Compilation errors in jdk.crypto.mscapi with VS 2017 Reviewed-by: xuelei
author weijun
date Thu, 08 Mar 2018 11:44:43 +0800
parents 323fc55ebe73
children a4a816f88e58
files src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp	Thu Mar 08 11:44:26 2018 +0800
+++ b/src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp	Thu Mar 08 11:44:43 2018 +0800
@@ -92,7 +92,7 @@
  * Overloaded 'operator new[]' variant, which will raise Java's
  * OutOfMemoryError in the case of a failure.
  */
-static void* operator new[](std::size_t size, JNIEnv *env)
+void* operator new[](std::size_t size, JNIEnv *env)
 {
     void* buf = ::operator new[](size, std::nothrow);
     if (buf == NULL) {