equal
deleted
inserted
replaced
33 * @author igor.ignatyev@oracle.com |
33 * @author igor.ignatyev@oracle.com |
34 */ |
34 */ |
35 |
35 |
36 public class StringTest { |
36 public class StringTest { |
37 private static final String FLAG_NAME = "CompileOnly"; |
37 private static final String FLAG_NAME = "CompileOnly"; |
|
38 private static final String FLAG_DEBUG_NAME = "SuppressErrorAt"; |
38 private static final String[] TESTS = {"StringTest::*", ""}; |
39 private static final String[] TESTS = {"StringTest::*", ""}; |
39 |
40 |
40 public static void main(String[] args) throws Exception { |
41 public static void main(String[] args) throws Exception { |
41 VmFlagTest.runTest(FLAG_NAME, TESTS, |
42 VmFlagTest.runTest(FLAG_NAME, TESTS, |
42 VmFlagTest.WHITE_BOX::setStringVMFlag, |
43 VmFlagTest.WHITE_BOX::setStringVMFlag, |
43 VmFlagTest.WHITE_BOX::getStringVMFlag); |
44 VmFlagTest.WHITE_BOX::getStringVMFlag); |
|
45 VmFlagTest.runTest(FLAG_DEBUG_NAME, VmFlagTest.WHITE_BOX::getStringVMFlag); |
44 } |
46 } |
45 } |
47 } |
46 |
48 |