langtools/test/tools/javac/annotations/typeAnnotations/failures/CheckErrorsForSource7.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, 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 /**@test |
24 /**@test |
25 * @bug 8035890 |
25 * @bug 8035890 |
26 * @summary Verify that the parser correctly checks for source level 8 on the new places where |
26 * @summary Verify that the parser correctly checks for source level 8 on the new places where |
27 * annotations can appear in 8. |
27 * annotations can appear in 8. |
|
28 * @modules jdk.compiler/com.sun.tools.javac.api |
|
29 * jdk.compiler/com.sun.tools.javac.file |
28 * @run main CheckErrorsForSource7 CheckErrorsForSource7.java |
30 * @run main CheckErrorsForSource7 CheckErrorsForSource7.java |
29 */ |
31 */ |
30 import java.io.File; |
32 import java.io.File; |
31 import java.io.IOException; |
33 import java.io.IOException; |
32 import java.lang.annotation.ElementType; |
34 import java.lang.annotation.ElementType; |