--- a/hotspot/test/gc/startup_warnings/TestParallelGC.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParallelGC.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}