test/langtools/tools/javac/diags/examples/TryResourceNotSupported.java
changeset 48054 702043a4cdeb
parent 47216 71c04702a3d5
--- a/test/langtools/tools/javac/diags/examples/TryResourceNotSupported.java	Mon Dec 04 10:13:58 2017 +0100
+++ b/test/langtools/tools/javac/diags/examples/TryResourceNotSupported.java	Mon Dec 04 17:54:49 2017 +0000
@@ -21,7 +21,8 @@
  * questions.
  */
 
-// key: compiler.err.try.with.resources.not.supported.in.source
+// key: compiler.err.feature.not.supported.in.source
+// key: compiler.misc.feature.try.with.resources
 // options: -source 1.6 -Xlint:-options
 
 import java.io.*;