test/langtools/tools/javac/switchexpr/WrongBreakTest.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:
55306
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     1
WrongBreakTest.java:36:41: compiler.err.illegal.start.of.expr
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     2
WrongBreakTest.java:35:39: compiler.err.break.outside.switch.expression
55528
bad3754349aa 8226510: No compilation error when switch expression has no result expressions
jlahoda
parents: 55306
diff changeset
     3
WrongBreakTest.java:35:17: compiler.err.switch.expression.no.result.expressions
55306
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     4
WrongBreakTest.java:36:9: compiler.err.ref.ambiguous: test, kindname.method, test(int), WrongBreakTest, kindname.method, test(java.lang.Object), WrongBreakTest
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     5
WrongBreakTest.java:38:13: compiler.err.no.switch.expression
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     6
WrongBreakTest.java:41:13: compiler.err.no.switch.expression
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     7
- compiler.note.preview.filename: WrongBreakTest.java
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents:
diff changeset
     8
- compiler.note.preview.recompile
55528
bad3754349aa 8226510: No compilation error when switch expression has no result expressions
jlahoda
parents: 55306
diff changeset
     9
6 errors