langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
changeset 14058 c7ec7facdd20
parent 14057 b4b0377b8dba
child 14259 fb94a1df0d53
equal deleted inserted replaced
14057:b4b0377b8dba 14058:c7ec7facdd20
  1225         try {
  1225         try {
  1226             attr.attrib(env);
  1226             attr.attrib(env);
  1227             if (errorCount() > 0 && !shouldStop(CompileState.ATTR)) {
  1227             if (errorCount() > 0 && !shouldStop(CompileState.ATTR)) {
  1228                 //if in fail-over mode, ensure that AST expression nodes
  1228                 //if in fail-over mode, ensure that AST expression nodes
  1229                 //are correctly initialized (e.g. they have a type/symbol)
  1229                 //are correctly initialized (e.g. they have a type/symbol)
  1230                 attr.postAttr(env);
  1230                 attr.postAttr(env.tree);
  1231             }
  1231             }
  1232             compileStates.put(env, CompileState.ATTR);
  1232             compileStates.put(env, CompileState.ATTR);
  1233         }
  1233         }
  1234         finally {
  1234         finally {
  1235             log.useSource(prev);
  1235             log.useSource(prev);