--- a/hotspot/test/gc/g1/TestStringDeduplicationTools.java Wed Jun 17 21:44:48 2015 +0000
+++ b/hotspot/test/gc/g1/TestStringDeduplicationTools.java Thu Jun 18 14:39:38 2015 -0500
@@ -412,16 +412,14 @@
output = DeduplicationTest.run(SmallNumberOfStrings,
TooLowAgeThreshold,
YoungGC);
- output.shouldContain("StringDeduplicationAgeThreshold of " + TooLowAgeThreshold +
- " is invalid; must be between " + MinAgeThreshold + " and " + MaxAgeThreshold);
+ output.shouldContain("outside the allowed range");
output.shouldHaveExitValue(1);
// Test with too high age threshold
output = DeduplicationTest.run(SmallNumberOfStrings,
TooHighAgeThreshold,
YoungGC);
- output.shouldContain("StringDeduplicationAgeThreshold of " + TooHighAgeThreshold +
- " is invalid; must be between " + MinAgeThreshold + " and " + MaxAgeThreshold);
+ output.shouldContain("outside the allowed range");
output.shouldHaveExitValue(1);
}