mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00

Introducing an internal API for Scope; rewriting ImportScopes to extend CompoundScopes. Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com> Reviewed-by: mcimadamore, jjg, jfranck
15 lines
211 B
Java
15 lines
211 B
Java
package p1;
|
|
|
|
import p2.*;
|
|
|
|
public class String {
|
|
public static void test() { }
|
|
}
|
|
|
|
class Test1 {
|
|
private void test() {
|
|
String.test();
|
|
Object.test();
|
|
Boolean.valueOf(true);
|
|
}
|
|
}
|