1.1 --- a/test/runtime/NMT/CommandLineTurnOffNMT.java Wed Feb 05 14:29:34 2014 +0100 1.2 +++ b/test/runtime/NMT/CommandLineTurnOffNMT.java Thu Feb 06 13:27:50 2014 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2013, 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 @@ -24,7 +24,7 @@ 1.11 /* 1.12 * @test 1.13 * @key nmt 1.14 - * @summary Turning off NMT should not result in an error or warning 1.15 + * @summary Turning off NMT should not result in an error 1.16 * @library /testlibrary 1.17 */ 1.18 1.19 @@ -38,7 +38,6 @@ 1.20 "-version"); 1.21 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 1.22 output.shouldNotContain("error"); 1.23 - output.shouldNotContain("warning"); 1.24 output.shouldHaveExitValue(0); 1.25 } 1.26 }