jdk-24/test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.out
Jan Lahoda e81d3fa8c3 8226510: No compilation error when switch expression has no result expressions
Ensure a compile-time error is produced when there are no result expressions in an switch expression.

Reviewed-by: vromero
2019-06-27 10:39:27 +02:00

13 lines
769 B
Plaintext

ExpressionSwitchFlow.java:11:24: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:18:13: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:24:24: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:32:25: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:38:25: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:45:25: compiler.err.rule.completes.normally
ExpressionSwitchFlow.java:53:9: compiler.err.switch.expression.completes.normally
ExpressionSwitchFlow.java:61:9: compiler.err.switch.expression.completes.normally
ExpressionSwitchFlow.java:69:9: compiler.err.switch.expression.completes.normally
- compiler.note.preview.filename: ExpressionSwitchFlow.java
- compiler.note.preview.recompile
9 errors