8141393: [TESTBUG] VMOptionsTest.java fails on ARM
Summary: The test should not assume that CompactStrings is enabled by default on all platforms.
Reviewed-by: roland
--- a/jdk/test/java/lang/String/CompactString/VMOptionsTest.java Tue Nov 03 09:42:11 2015 +0100
+++ b/jdk/test/java/lang/String/CompactString/VMOptionsTest.java Thu Nov 05 09:08:42 2015 +0100
@@ -39,7 +39,6 @@
* COMPACT_STRINGS field in String class.
* @run testng/othervm -XX:+CompactStrings -DCompactStringEnabled=true VMOptionsTest
* @run testng/othervm -XX:-CompactStrings -DCompactStringEnabled=false VMOptionsTest
- * @run testng/othervm -DCompactStringEnabled=true VMOptionsTest
*/
public class VMOptionsTest {