1/*
2 * @test /nodynamiccopyright/
3 * @bug 4110534
4 * @summary The fix for 1240831 broke the compiler.  It should
5 *          report that class Abs cannot be instantiated.
6 * @author turnidge
7 *
8 * @compile/fail/ref=ClassIsAbstract.out -XDrawDiagnostics  ClassIsAbstract.java
9 */
10
11abstract class Abs {
12}
13
14class ClassIsAbstract {
15    void method() {
16        new Abs();
17    }
18}
19