United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4838310 (proxy) Proxy.getProxyClass restriction needs to be loosened for Tiger
JDK-4838310 : (proxy) Proxy.getProxyClass restriction needs to be loosened for Tiger

Details
Type:
Bug
Submit Date:
2003-03-27
Status:
Closed
Updated Date:
2012-09-28
Project Name:
JDK
Resolved Date:
2003-08-18
Component:
core-libs
OS:
solaris_8
Sub-Component:
java.lang:reflect
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (tiger)

Related Reports

Sub Tasks

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
EVALUATION

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

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b16

VERIFIED IN:
tiger


                                     
2004-06-14



Hardware and Software, Engineered to Work Together