8198898: Compilation errors in jdk.crypto.mscapi with VS 2017
authorweijun
Thu, 08 Mar 2018 11:44:43 +0800
changeset 49149 217780dff1bf
parent 49148 323fc55ebe73
child 49150 a4a816f88e58
8198898: Compilation errors in jdk.crypto.mscapi with VS 2017 Reviewed-by: xuelei
src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp
--- 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) {