JDK-4838310 : (proxy) Proxy.getProxyClass restriction needs to be loosened for Tiger
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2003-03-27
  • Updated: 2017-05-16
  • Resolved: 2003-08-18
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 tigerFixed
Description
java.lang.reflect.Proxy.getProxyClass currently specifies the following restriction on the list of interfaces passed to it:

	No two interfaces may each have a method with the same name and
	parameter signature but different return type.

For Tiger, to be consistent with planned language changes, this restriction should be loosened to be something along these lines:

	For any set of member methods of the specified interfaces that have
	the same signature:

	- if the return type of any of the methods is a primitive type, then
          all of the methods must have the same return type, and otherwise,

	- one of the methods must have a return type that is assignable
	  to the return types of the rest of the methods.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b16 VERIFIED IN: tiger
14-06-2004

EVALUATION This should be done for Tiger. ###@###.### 2003-03-27
27-03-2003