view test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out @ 49695:d6cbfe9e3030

Avoiding crash in ArgumentAttr when a break inside a switch expression is not a value break.
author jlahoda
date Fri, 23 Mar 2018 14:04:22 +0100
parents 5a006d1108a4
children 91076e2839c7
line wrap: on
line source
ExpressionSwitchBreaks2.java:38:25: compiler.err.break.missing.value
ExpressionSwitchBreaks2.java:40:25: compiler.err.break.outside.switch.expression
ExpressionSwitchBreaks2.java:44:37: compiler.err.break.ambiguous.target: x
ExpressionSwitchBreaks2.java:48:29: compiler.err.return.outside.switch.expression
ExpressionSwitchBreaks2.java:49:29: compiler.err.continue.outside.switch.expression
ExpressionSwitchBreaks2.java:50:29: compiler.err.continue.outside.switch.expression
ExpressionSwitchBreaks2.java:51:29: compiler.err.undef.label: UNKNOWN
ExpressionSwitchBreaks2.java:55:37: compiler.err.break.ambiguous.target: x
ExpressionSwitchBreaks2.java:61:17: compiler.err.break.complex.value.no.switch.expression
ExpressionSwitchBreaks2.java:61:29: compiler.err.cant.resolve.location: kindname.variable, undef, , , (compiler.misc.location: kindname.class, ExpressionSwitchBreaks2, null)
ExpressionSwitchBreaks2.java:65:22: compiler.err.break.ambiguous.target: j
ExpressionSwitchBreaks2.java:68:22: compiler.err.break.outside.switch.expression
12 errors