Files
Tagir Valeev 9c6aeba5b4 [java] More tests for preview; minor fixes
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
2022-07-22 11:54:00 +00:00

17 lines
296 B
Java

// "Add on-demand static import for 'test.GregorianCalendar'" "true-preview"
package test;
import static test.GregorianCalendar.*;
public class Foo {
{
getInstance();
}
}
class Calendar {
public static final void getInstance() {}
}
class GregorianCalendar extends Calendar {
}