1.1 --- a/src/share/vm/code/compressedStream.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/code/compressedStream.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 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 @@ -212,6 +212,8 @@ 1.11 return h ^ l; 1.12 } 1.13 1.14 +PRAGMA_DIAG_PUSH 1.15 +PRAGMA_FORMAT_IGNORED // Someone needs to deal with this. 1.16 void test_compressed_stream(int trace) { 1.17 CompressedWriteStream bytes(stretch_limit * 100); 1.18 jint n; 1.19 @@ -275,6 +277,7 @@ 1.20 guarantee(length == length2, "bad length"); 1.21 guarantee(fails == 0, "test failures"); 1.22 } 1.23 +PRAGMA_DIAG_POP 1.24 1.25 #if defined(_MSC_VER) &&_MSC_VER >=1400 && !defined(_WIN64) 1.26 #pragma warning(default: 4748)