1.1 --- a/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -184,7 +184,7 @@ 1.11 1.12 class ar_ext_msg : public err_msg { 1.13 public: 1.14 - ar_ext_msg(G1AllocRegion* alloc_region, const char *message) : err_msg("") { 1.15 + ar_ext_msg(G1AllocRegion* alloc_region, const char *message) : err_msg("%s", "") { 1.16 alloc_region->fill_in_ext_msg(this, message); 1.17 } 1.18 };