--- old/test/gc/g1/TestStringDeduplicationTools.java 2015-06-13 09:00:38.000000000 -0500 +++ new/test/gc/g1/TestStringDeduplicationTools.java 2015-06-13 09:00:37.000000000 -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); }