1.1 --- a/test/tools/javac/diags/examples/DuplicateAnnotation.java Mon Aug 27 10:59:13 2012 -0700 1.2 +++ b/test/tools/javac/diags/examples/DuplicateAnnotation.java Fri Aug 31 10:37:46 2012 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2010, 2012 Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -22,6 +22,8 @@ 1.11 */ 1.12 1.13 // key: compiler.err.duplicate.annotation 1.14 +// key: compiler.warn.source.no.bootclasspath 1.15 +// options: -source 7 1.16 1.17 @interface Anno { } 1.18