author | ysuenaga |
Wed, 30 Mar 2016 21:05:13 +0900 | |
changeset 37218 | c7241bc368bf |
parent 28705 | 675cb37e74a8 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 4855358 * @summary add support for JSR 201's static import facility * @author gafter * * @compile/fail/ref=StaticImport2.out -XDrawDiagnostics StaticImport2.java */ package p; import static p.A.*; import static p.B.*; interface A { int K = 3; } interface B { int K = 4; } class C { void f() { int x = K; // ambiguous } }