diff -r 542c87b8ce7f -r 873ddd9f4900 test/tools/javac/diags/examples/DuplicateAnnotation.java --- a/test/tools/javac/diags/examples/DuplicateAnnotation.java Mon Aug 27 10:59:13 2012 -0700 +++ b/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 { }