author | chegar |
Tue, 13 Oct 2015 09:02:30 +0100 | |
changeset 33021 | 8a0d5889acea |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
10 | 1 |
/* |
30714
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 6380059 |
4 |
* @summary Emit warnings for proprietary packages in the boot class path |
|
5 |
* @author Peter von der Ah\u00e9 |
|
33021
8a0d5889acea
8139371: Three langtools test failures after the removal of sun.misc.Lock
chegar
parents:
30730
diff
changeset
|
6 |
* @modules java.base/sun.security.x509 |
10 | 7 |
* @compile WarnClass.java |
30714
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
8 |
* @compile/fail/ref=WarnClass.out -XDrawDiagnostics -Werror WarnClass.java |
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
9 |
* @compile/fail/ref=WarnClass.out -XDrawDiagnostics -Werror -nowarn WarnClass.java |
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
10 |
* @compile/fail/ref=WarnClass.out -XDrawDiagnostics -Werror -Xlint:none WarnClass.java |
10 | 11 |
*/ |
12 |
||
33021
8a0d5889acea
8139371: Three langtools test failures after the removal of sun.misc.Lock
chegar
parents:
30730
diff
changeset
|
13 |
public class WarnClass extends sun.security.x509.X509CertInfo {} |