--- a/hotspot/test/runtime/CompressedOops/CompressedClassSpaceSize.java Wed Jun 17 21:44:48 2015 +0000
+++ b/hotspot/test/runtime/CompressedOops/CompressedClassSpaceSize.java Thu Jun 18 14:39:38 2015 -0500
@@ -42,7 +42,7 @@
pb = ProcessTools.createJavaProcessBuilder("-XX:CompressedClassSpaceSize=0",
"-version");
output = new OutputAnalyzer(pb.start());
- output.shouldContain("CompressedClassSpaceSize of 0 is invalid")
+ output.shouldContain("outside the allowed range")
.shouldHaveExitValue(1);
// Invalid size of -1 should be handled correctly
@@ -57,7 +57,7 @@
pb = ProcessTools.createJavaProcessBuilder("-XX:CompressedClassSpaceSize=4g",
"-version");
output = new OutputAnalyzer(pb.start());
- output.shouldContain("CompressedClassSpaceSize of 4294967296 is invalid")
+ output.shouldContain("outside the allowed range")
.shouldHaveExitValue(1);