langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
changeset 26781 a786b07c7b91
parent 26266 2d24bda701dc
child 27224 228abfa87080
equal deleted inserted replaced
26780:82b0aaba473d 26781:a786b07c7b91
  1087 
  1087 
  1088             if (foundError) {
  1088             if (foundError) {
  1089                 for (ClassSymbol cs : symtab.classes.values()) {
  1089                 for (ClassSymbol cs : symtab.classes.values()) {
  1090                     if (cs.classfile != null || cs.kind == Kinds.ERR) {
  1090                     if (cs.classfile != null || cs.kind == Kinds.ERR) {
  1091                         cs.reset();
  1091                         cs.reset();
  1092                         cs.type = new ClassType(cs.type.getEnclosingType(),
  1092                         cs.type = new ClassType(cs.type.getEnclosingType(), null, cs);
  1093                                                 null, cs, Type.noAnnotations);
       
  1094                         if (cs.completer == null) {
  1093                         if (cs.completer == null) {
  1095                             cs.completer = initialCompleter;
  1094                             cs.completer = initialCompleter;
  1096                         }
  1095                         }
  1097                     }
  1096                     }
  1098                 }
  1097                 }