src/share/classes/com/sun/tools/javac/comp/Attr.java

changeset 2717
11743872bfc9
parent 2617
a12a9932f649
child 2814
380f6c17ea01
     1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Attr.java	Wed Feb 11 12:18:57 2015 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Attr.java	Fri Feb 13 17:18:21 2015 +0100
     1.3 @@ -4269,6 +4269,8 @@
     1.4              chk.validate(tree.implementing, env);
     1.5          }
     1.6  
     1.7 +        c.markAbstractIfNeeded(types);
     1.8 +
     1.9          // If this is a non-abstract class, check that it has no abstract
    1.10          // methods or unimplemented methods of an implemented interface.
    1.11          if ((c.flags() & (ABSTRACT | INTERFACE)) == 0) {

mercurial