test/langtools/tools/javac/diags/examples/DiamondNotSupported.java
changeset 48054 702043a4cdeb
parent 47216 71c04702a3d5
child 51047 860a3648c494
--- a/test/langtools/tools/javac/diags/examples/DiamondNotSupported.java	Mon Dec 04 10:13:58 2017 +0100
+++ b/test/langtools/tools/javac/diags/examples/DiamondNotSupported.java	Mon Dec 04 17:54:49 2017 +0000
@@ -21,7 +21,8 @@
  * questions.
  */
 
-// key: compiler.err.diamond.not.supported.in.source
+// key: compiler.err.feature.not.supported.in.source
+// key: compiler.misc.feature.diamond
 // options: -source 6 -Xlint:-options
 
 import java.util.*;