--- a/test/langtools/tools/javac/diags/examples/SwitchExpressions.java Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/diags/examples/SwitchExpressions.java Tue Nov 12 06:32:13 2019 +0000
@@ -22,8 +22,8 @@
*/
// key: compiler.misc.feature.switch.expressions
-// key: compiler.warn.preview.feature.use.plural
-// options: --enable-preview -source ${jdk.version} -Xlint:preview
+// key: compiler.err.feature.not.supported.in.source.plural
+// options: -Xlint:-options -source 13
class SwitchExpressions {
int m(int i) {