hotspot/test/testlibrary_tests/whitebox/vm_flags/StringTest.java
changeset 27417 576e2b527e1c
parent 25958 8dc85547d6d6
child 28190 5a6b07edeb21
equal deleted inserted replaced
27416:862162c5a8e0 27417:576e2b527e1c
    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