8198898: Compilation errors in jdk.crypto.mscapi with VS 2017
Reviewed-by: xuelei
This commit is contained in:
parent
3fb8a072a1
commit
68b1b6c580
@ -92,7 +92,7 @@ void ThrowException(JNIEnv *env, const char *exceptionName, DWORD dwError)
|
||||
* 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user