author | lana |
Thu, 21 Jan 2016 09:46:01 -0800 | |
changeset 35340 | 38f7386ed942 |
parent 28705 | 675cb37e74a8 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
28705
675cb37e74a8
8068463: Group 10c: golden files for tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 4821359 |
4 |
* @summary Add -Xlint flag |
|
5 |
* @author gafter |
|
6 |
* |
|
28705
675cb37e74a8
8068463: Group 10c: golden files for tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
7 |
* @compile/fail/ref=Deprecation.out -XDrawDiagnostics -Xlint:deprecation -Werror Deprecation.java |
10 | 8 |
*/ |
9 |
||
10 |
/** @deprecated */ |
|
11 |
class A { |
|
12 |
} |
|
13 |
||
14 |
class B extends A { |
|
15 |
} |