hotspot/src/share/vm/utilities/array.hpp
changeset 19696 bd5a0131bde1
parent 17858 c292f8791cca
child 20285 2248009a3749
--- a/hotspot/src/share/vm/utilities/array.hpp	Thu Aug 29 21:46:09 2013 +0200
+++ b/hotspot/src/share/vm/utilities/array.hpp	Thu Aug 29 18:56:29 2013 -0400
@@ -317,7 +317,7 @@
   Array(const Array<T>&);
   void operator=(const Array<T>&);
 
-  void* operator new(size_t size, ClassLoaderData* loader_data, int length, bool read_only, TRAPS) {
+  void* operator new(size_t size, ClassLoaderData* loader_data, int length, bool read_only, TRAPS) throw() {
     size_t word_size = Array::size(length);
     return (void*) Metaspace::allocate(loader_data, word_size, read_only,
                                        MetaspaceObj::array_type(sizeof(T)), CHECK_NULL);