< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Debug.h

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -48,14 +48,12 @@
     };
 
     extern void * operator new(size_t size, const char * filename, int linenumber);
     extern void * operator new[](size_t size, const char * filename, int linenumber);
 
-#if _MSC_VER >= 1200
-    /* VC 6.0 is more strict about enforcing matching placement new & delete */
     extern void operator delete(void *ptr, const char*, int);
-#endif
+    extern void operator delete[](void *ptr, const char*, int);
 
     extern void operator delete(void *ptr) throw();
     extern void DumpClipRectangle(const char * file, int line, int argc, const char * fmt, va_list arglist);
     extern void DumpUpdateRectangle(const char * file, int line, int argc, const char * fmt, va_list arglist);
 
< prev index next >