langtools/test/tools/javac/diags/examples/DuplicateAnnotation.java
changeset 13689 4d519199a6aa
parent 6149 48de3564aa13
child 14870 1a2371de04d8
--- a/langtools/test/tools/javac/diags/examples/DuplicateAnnotation.java	Mon Aug 27 10:59:13 2012 -0700
+++ b/langtools/test/tools/javac/diags/examples/DuplicateAnnotation.java	Fri Aug 31 10:37:46 2012 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2012 Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,8 @@
  */
 
 // key: compiler.err.duplicate.annotation
+// key: compiler.warn.source.no.bootclasspath
+// options: -source 7
 
 @interface Anno { }