2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 01:28:43 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 6380059
|
|
|
|
* @summary Emit warnings for proprietary packages in the boot class path
|
|
|
|
* @author Peter von der Ah\u00e9
|
|
|
|
* @compile WarnWildcard.java
|
2015-05-15 01:28:43 -07:00
|
|
|
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror WarnWildcard.java
|
|
|
|
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror -nowarn WarnWildcard.java
|
|
|
|
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror -Xlint:none WarnWildcard.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class WarnWildcard {
|
|
|
|
java.util.Collection<? extends sun.misc.FloatConsts> x;
|
|
|
|
}
|