langtools/test/tools/javac/tree/TestToString.java
changeset 30730 d3ce7619db2c
parent 27319 030080f03e4f
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 7080267
    26  * @bug 7080267
    27  * @summary Call to toString() from an ExpressionStatementTree doesn't take in
    27  * @summary Call to toString() from an ExpressionStatementTree doesn't take in
    28  *      consideration the ";" at the end
    28  *      consideration the ";" at the end
       
    29  * @modules jdk.compiler/com.sun.tools.javac.api
       
    30  *          jdk.compiler/com.sun.tools.javac.file
    29  */
    31  */
    30 
    32 
    31 import com.sun.source.tree.BlockTree;
    33 import com.sun.source.tree.BlockTree;
    32 import com.sun.source.tree.CompilationUnitTree;
    34 import com.sun.source.tree.CompilationUnitTree;
    33 import com.sun.source.tree.StatementTree;
    35 import com.sun.source.tree.StatementTree;