equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8009267 |
26 * @bug 8009267 |
27 * @summary Verify uses of isAnnotationPresent compile under older source versions |
27 * @summary Verify uses of isAnnotationPresent compile under older source versions |
28 * @compile -source 1.5 -target 1.5 OldenCompilingWithDefaults.java |
|
29 * @compile -source 1.6 -target 1.6 OldenCompilingWithDefaults.java |
28 * @compile -source 1.6 -target 1.6 OldenCompilingWithDefaults.java |
30 * @compile -source 1.7 -target 1.7 OldenCompilingWithDefaults.java |
29 * @compile -source 1.7 -target 1.7 OldenCompilingWithDefaults.java |
31 * @compile OldenCompilingWithDefaults.java |
30 * @compile OldenCompilingWithDefaults.java |
32 */ |
31 */ |
33 |
32 |