-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
generic, x86
-
generic, windows_2003
-
Verified
The regression test
test/java/lang/reflect/Proxy/ClassRestrictions.java
has been failing to compile since the addition of the class java.net.Proxy (see 4696512) into Tiger (8/17 JSN integration).
The test just uses following type-import-on-demand declarations:
import java.lang.reflect.*;
import java.net.*;
and expects to be able to refer to the type java.lang.reflect.Proxy by its simple name. With types named Proxy in both java.lang.reflect and java.net, such a reference is ambiguous and a compile-time error occurs.
test/java/lang/reflect/Proxy/ClassRestrictions.java
has been failing to compile since the addition of the class java.net.Proxy (see 4696512) into Tiger (8/17 JSN integration).
The test just uses following type-import-on-demand declarations:
import java.lang.reflect.*;
import java.net.*;
and expects to be able to refer to the type java.lang.reflect.Proxy by its simple name. With types named Proxy in both java.lang.reflect and java.net, such a reference is ambiguous and a compile-time error occurs.
- duplicates
-
JDK-4913276 Regression-test java/lang/reflect/Proxy/ClassRestrictions.java fails
-
- Closed
-
- relates to
-
JDK-4912966 need to document source incompatibility of java.net.Proxy addition
-
- Resolved
-