< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java

Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01

*** 269,278 **** --- 269,285 ---- if (TreeInfo.name(tree.meth) == names._super) { addFreeVars((ClassSymbol) TreeInfo.symbol(tree.meth).owner); } super.visitApply(tree); } + + @Override + public void visitBreak(JCBreak tree) { + if (tree.isValueBreak()) + scan(tree.value); + } + } /** * Lower-specific subclass of {@code BasicFreeVarCollector}. */
*** 371,386 **** visitSymbol(outerThisStack.head); } super.visitApply(tree); } - @Override - public void visitBreak(JCBreak tree) { - if (tree.isValueBreak()) - scan(tree.value); - } - } ClassSymbol ownerToCopyFreeVarsFrom(ClassSymbol c) { if (!c.isLocal()) { return null; --- 378,387 ----
< prev index next >