< prev index next >

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

Print this page
rev 51258 : imported patch switch

*** 99,108 **** --- 99,113 ---- /** ResultInfo to be used for attributing 'return' statement expressions * (set by Attr.visitMethod and Attr.visitLambda) */ Attr.ResultInfo returnResult = null; + /** ResultInfo to be used for attributing 'break' statement expressions + * (set by Attr.visitSwitchExpression) + */ + Attr.ResultInfo breakResult = null; + /** Symbol corresponding to the site of a qualified default super call */ Type defaultSuperCallSite = null; /** Tree that when non null, is to be preferentially used in diagnostics.
*** 122,131 **** --- 127,137 ---- info.selectSuper = selectSuper; info.pendingResolutionPhase = pendingResolutionPhase; info.lint = lint; info.enclVar = enclVar; info.returnResult = returnResult; + info.breakResult = breakResult; info.defaultSuperCallSite = defaultSuperCallSite; info.isSerializable = isSerializable; info.isLambda = isLambda; info.isSpeculative = isSpeculative; info.isAnonymousDiamond = isAnonymousDiamond;
< prev index next >