test/langtools/tools/javap/WhitespaceTest.java
changeset 55263 830ca7b43b95
parent 47216 71c04702a3d5
equal deleted inserted replaced
55262:7d83cf1cfa74 55263:830ca7b43b95
    35     public static void main(String... args) throws Exception {
    35     public static void main(String... args) throws Exception {
    36         new WhitespaceTest().run();
    36         new WhitespaceTest().run();
    37     }
    37     }
    38 
    38 
    39     void run() throws Exception {
    39     void run() throws Exception {
    40         test("-v", "java.lang.String");
    40         test("-v", "java.lang.Object");
    41         test("-XDtab:1", "-v", "java.lang.String");
    41         test("-XDtab:1", "-v", "java.lang.Object");
    42 
    42 
    43         String testClasses = System.getProperty("test.classes");
    43         String testClasses = System.getProperty("test.classes");
    44         for (int i = 10; i < 40; i++)
    44         for (int i = 10; i < 40; i++)
    45             test("-XDtab:" + i, "-v", "-classpath", testClasses, "WhitespaceTest$HelloWorld");
    45             test("-XDtab:" + i, "-v", "-classpath", testClasses, "WhitespaceTest$HelloWorld");
    46 
    46