langtools/test/tools/javac/T8022186/DeadCodeGeneratedForEmptyTryTest.java
changeset 30846 2b3f379840f0
parent 30730 d3ce7619db2c
child 32337 c9d3ab9f601c
equal deleted inserted replaced
30845:43ddd58a5a56 30846:2b3f379840f0
    25 
    25 
    26 /*
    26 /*
    27  * @test
    27  * @test
    28  * @bug 8022186
    28  * @bug 8022186
    29  * @summary javac generates dead code if a try with an empty body has a finalizer
    29  * @summary javac generates dead code if a try with an empty body has a finalizer
    30  * @modules jdk.compiler/com.sun.tools.classfile
    30  * @modules jdk.jdeps/com.sun.tools.classfile
    31  *          jdk.compiler/com.sun.tools.javac.util
    31  *          jdk.compiler/com.sun.tools.javac.util
    32  */
    32  */
    33 
    33 
    34 import com.sun.tools.classfile.Attribute;
    34 import com.sun.tools.classfile.Attribute;
    35 import com.sun.tools.classfile.ClassFile;
    35 import com.sun.tools.classfile.ClassFile;