author | hseigel |
Tue, 26 Jul 2016 08:23:25 -0400 (2016-07-26) | |
changeset 43178 | 6fb98b21d035 |
parent 26274 | 02a5b23ee21c |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 4110534 * @summary The fix for 1240831 broke the compiler. It should * report that class Abs cannot be instantiated. * @author turnidge * * @compile/fail/ref=ClassIsAbstract.out -XDrawDiagnostics ClassIsAbstract.java */ abstract class Abs { } class ClassIsAbstract { void method() { new Abs(); } }