hotspot/src/share/vm/code/relocInfo.hpp
changeset 19696 bd5a0131bde1
parent 18446 635eae7b22fc
child 22838 82c7497fbad4
--- a/hotspot/src/share/vm/code/relocInfo.hpp	Thu Aug 29 21:46:09 2013 +0200
+++ b/hotspot/src/share/vm/code/relocInfo.hpp	Thu Aug 29 18:56:29 2013 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, 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
@@ -677,7 +677,7 @@
   }
 
  public:
-  void* operator new(size_t size, const RelocationHolder& holder) {
+  void* operator new(size_t size, const RelocationHolder& holder) throw() {
     if (size > sizeof(holder._relocbuf)) guarantee_size();
     assert((void* const *)holder.reloc() == &holder._relocbuf[0], "ptrs must agree");
     return holder.reloc();