JDK-4912966 : need to document source incompatibility of java.net.Proxy addition
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-26
  • Updated: 2017-05-16
  • Resolved: 2008-01-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 beta2Fixed
Related Reports
Relates :  
Relates :  
Description
The addition of the class java.net.Proxy (RFE 4696512) can cause a source incompatibility-- if a compilation unit has the following type-import-on-demand declarations:

import java.lang.reflect.*;
import java.net.*;

(and no single-type-import declaration for the name Proxy) and attempts to refer to the class java.lang.reflect.Proxy by its simple name, a compile-time error will occur in Tiger because the reference is now ambiguous (see 4909749 for an example).

This source incompatibility needs to be documented in the compatibility page for the release, like was done when java.util.Timer was added for Kestrel:

	http://java.sun.com/j2se/1.3/compatibility.html

The compatibility page is generated from the compatibility sections of CCC requests.  The CCC request for 4696512 did not mention this issue in its compatibility section, so please file a fast-track CCC request for this bug to document the source incompatibility.
This incompatibility is documented in the 1.5 compatibility page:
http://java.sun.com/j2se/1.5.0/compatibility.html

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2
18-08-2004

EVALUATION Commit to do before Tiger beta. ###@###.### 2003-09-02 The CCC request that document the source incompatibility of java.net.Proxy addition is filed and approved. ###@###.### 2003-09-30 The potential source incompatibility will be documented in the java.sun.com compatibility.html page. ###@###.### 2003-10-01
30-09-2003