author | sogoel |
Wed, 02 Jul 2014 13:29:58 -0700 | |
changeset 25309 | dcd9a7e19669 |
parent 5520 | 86e4b9a9da40 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 5009601 * @summary enum's cannot be explicitly declared abstract even if they are abstract * @author Joseph D. Darcy * @compile/fail/ref=ExplicitlyAbstractEnum2.out -XDrawDiagnostics ExplicitlyAbstractEnum2.java */ abstract enum ExplicitlyAbstractEnum2 { FE { void foo() {return;} }; abstract void foo(); }