8198898: Compilation errors in jdk.crypto.mscapi with VS 2017
Reviewed-by: xuelei
--- 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) {