test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out
author chegar
Thu, 17 Oct 2019 20:54:25 +0100
branchdatagramsocketimpl-branch
changeset 58679 9c3209ff7550
parent 58678 9cf78a70fa4f
parent 55528 bad3754349aa
permissions -rw-r--r--
datagramsocketimpl-branch: merge with default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51563
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     1
ExpressionSwitchBreaks2.java:19:25: compiler.err.break.outside.switch.expression
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     2
ExpressionSwitchBreaks2.java:27:29: compiler.err.return.outside.switch.expression
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     3
ExpressionSwitchBreaks2.java:28:29: compiler.err.continue.outside.switch.expression
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     4
ExpressionSwitchBreaks2.java:29:29: compiler.err.continue.outside.switch.expression
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     5
ExpressionSwitchBreaks2.java:30:29: compiler.err.undef.label: UNKNOWN
55306
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents: 51563
diff changeset
     6
ExpressionSwitchBreaks2.java:40:17: compiler.err.no.switch.expression
51563
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
     7
ExpressionSwitchBreaks2.java:40:29: compiler.err.cant.resolve.location: kindname.variable, undef, , , (compiler.misc.location: kindname.class, ExpressionSwitchBreaks2, null)
55528
bad3754349aa 8226510: No compilation error when switch expression has no result expressions
jlahoda
parents: 55306
diff changeset
     8
ExpressionSwitchBreaks2.java:45:22: compiler.err.break.outside.switch.expression
bad3754349aa 8226510: No compilation error when switch expression has no result expressions
jlahoda
parents: 55306
diff changeset
     9
ExpressionSwitchBreaks2.java:49:22: compiler.err.break.outside.switch.expression
51563
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
    10
- compiler.note.preview.filename: ExpressionSwitchBreaks2.java
de411d537aae 8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
diff changeset
    11
- compiler.note.preview.recompile
55528
bad3754349aa 8226510: No compilation error when switch expression has no result expressions
jlahoda
parents: 55306
diff changeset
    12
9 errors