author | aph |
Mon, 04 Nov 2019 13:13:34 -0500 | |
changeset 58917 | 33f9271b3167 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
30716
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
1 |
/* |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
2 |
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
4 |
* |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
7 |
* published by the Free Software Foundation. |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
8 |
* |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
13 |
* accompanied this code). |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
14 |
* |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
18 |
* |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
21 |
* questions. |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
22 |
*/ |
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
23 |
|
10 | 24 |
/* |
25 |
* @test |
|
26 |
* @bug 1240831 |
|
27 |
* @summary Certain classes should have been reported as abstract, but |
|
28 |
* the compiler failed to detect this. This comes up when a |
|
29 |
* subclass declares a method with the same name as an |
|
30 |
* unimplemented, unaccessible method in a superclass. Even though |
|
31 |
* the method has the same name, it does not override. |
|
32 |
* @author turnidge |
|
33 |
* |
|
30716
1bbdff43424d
8074408: Group 12: golden files for tests in tools/javac dir
sogoel
parents:
17800
diff
changeset
|
34 |
* @compile/fail/ref=Test.out -XDrawDiagnostics one/Parent.java two/Child.java |
10 | 35 |
*/ |