blob: dd433f1c54349ac76f074101aba69fe105a3297e [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 4912075
* @summary static import of private field crashes compiler
* @author gafter
*
* @compile/fail/ref=PrivateStaticImport.out -XDrawDiagnostics PrivateStaticImport.java
*/
package psi;
import static psi.Foo.*;
class Foo {
private static int FOO_VALUE = 55;
}
class Bar {
int value = FOO_VALUE;
}