test/gc/startup_warnings/TestCMSIncrementalMode.java

Print this page

        

@@ -1,6 +1,5 @@
-
 /*
 * Copyright (c) 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

@@ -36,11 +35,11 @@
 public class TestCMSIncrementalMode {
 
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:+CMSIncrementalMode", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldContain("warning: Using incremental CMS is deprecated and will likely be removed in a future release");
+    output.shouldContain("warning: Using incremental CMS is deprecated and will be removed in a future release");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
 
 }