mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +02:00
16 lines
432 B
Java
16 lines
432 B
Java
import java.sql.Array;
|
|
|
|
import org.aspectj.testing.Tester;
|
|
|
|
public class UnambiguousClassReference3CP {
|
|
|
|
/** @testcase PR#701 PUREJAVA no CE for unambiguous reference
|
|
* see also testcase PR#631 */
|
|
public static void main(String[] args) {
|
|
int[] gh = new int[5];
|
|
int len = java.lang.reflect.Array.getLength(gh); // not ambiguous
|
|
Tester.check(5==len, "Array.getLength failed: " + len);
|
|
}
|
|
}
|
|
|