jdk-24/test/langtools/tools/javac/scope/6225935/T6214959.java

17 lines
365 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 6214959
* @summary Compiler fails to produce error message with ODD number of import static
2007-12-01 00:00:00 +00:00
* @author Peter von der Ah\u00e9
* @compile/fail/ref=T6214959.out -XDrawDiagnostics T6214959.java
2007-12-01 00:00:00 +00:00
*/
import static a.Star.*;
import static a.Ambiguous.*;
import static a.Star.*;
public class T6214959 {
{ y(); }
}