author | akulyakh |
Thu, 21 May 2015 11:41:04 -0700 | |
changeset 30730 | d3ce7619db2c |
parent 30714 | 2bd9a474f287 |
child 34855 | 353666685672 |
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 |
|
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
30714
diff
changeset
|
6 |
* @modules java.base/sun.misc |
10 | 7 |
* @compile WarnWildcard.java |
30714
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
8 |
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror WarnWildcard.java |
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
9 |
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror -nowarn WarnWildcard.java |
2bd9a474f287
8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents:
23393
diff
changeset
|
10 |
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror -Xlint:none WarnWildcard.java |
10 | 11 |
*/ |
12 |
||
13 |
public class WarnWildcard { |
|
14 |
java.util.Collection<? extends sun.misc.FloatConsts> x; |
|
15 |
} |