< prev index next >
test/langtools/tools/javac/diags/examples/RuleCompletesNormally.java
Print this page
*** 22,32 ****
*/
// key: compiler.err.rule.completes.normally
// key: compiler.note.preview.filename
// key: compiler.note.preview.recompile
! // options: --enable-preview -source 12
class RuleCompletesNormally {
public String convert(int i) {
return switch (i) {
default -> {}
--- 22,32 ----
*/
// key: compiler.err.rule.completes.normally
// key: compiler.note.preview.filename
// key: compiler.note.preview.recompile
! // options: --enable-preview -source 13
class RuleCompletesNormally {
public String convert(int i) {
return switch (i) {
default -> {}
< prev index next >