equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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. |
25 * @test |
25 * @test |
26 * @bug 4361575 |
26 * @bug 4361575 |
27 * @summary Correct scoping and diagnostics for import declarations. |
27 * @summary Correct scoping and diagnostics for import declarations. |
28 * @author gafter |
28 * @author gafter |
29 * |
29 * |
30 * @compile/fail foo/A.java |
30 * @compile/fail/ref=Dummy.out -XDrawDiagnostics foo/A.java |
31 */ |
31 */ |
32 |
32 |
33 public class Dummy {} |
33 public class Dummy {} |