JDK-5017749 : (reflect spec) reflection classes may need additional API for generic signatures
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: generic
  • Submitted: 2004-03-22
  • Updated: 2012-09-28
  • Resolved: 2005-11-12
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.
JDK 6
6 b61Fixed
Related Reports
Relates :  
Relates :  
Description
The API javadocs for the java.lang.reflect.* classes may need to be updated to provide
clarification of changes made to support genericity as part of the 1.5 core libraries
updates associated with new language features.
###@###.### 2004-03-22

Comments
SUGGESTED FIX src/share/classes/java/lang/reflect>sccs sccsdiff -r1.3 -r1.4 TypeVariable.java ------- TypeVariable.java ------- 28,29c28,29 < * <p>The type parameter D represents the type of generic declaration < * that declared the underlying type variable. --- > * @param <D> the type of generic declaration that declared the > * underlying type variable. src/share/classes/java/lang/reflect>sccs sccsdiff -r1.51 -r1.52 Constructor.java ------- Constructor.java ------- 29a30,31 > * @param <T> the class in which the constructor is declared > * 449a452,456 > * <p>If the constructor's declaring class is an inner class in a > * non-static context, the first argument to the constructor needs > * to be the enclosing instance; see <i>The Java Language > * Specification</i>, section 15.9.3. > * src/share/classes/java/lang>sccs sccsdiff -r1.191 -r1.192 Class.java ------- Class.java ------- 87a88,92 > * @param <T> the type of the class modeled by this {@code Class} > * object. For example, the type of {@code String.class} is {@code > * Class<String>}. Use {@code Class<?>} if the class being modeled is > * unknown. > * 923,924d927 < if (isPrimitive()) < return null; 1417,1419c1420,1421 < * @return the array containing <code>Method</code> objects for all the < * declared public constructors of this class matches the specified < * <code>parameterTypes</code> --- > * @return the array of <code>Constructor</code> objects representing the > * public constructors of this class 1603c1605 < * parameter types, in declared order. --- > * parameter types, in declared order. 1604a1607,1610 > * If this <code>Class</code> object represents an inner class > * declared in a non-static context, the formal parameter types > * include the explicit enclosing instance as the first parameter. > * 1610c1616 < * @return the <code>Method</code> object of the public constructor that --- > * @return the <code>Constructor</code> object of the public constructor that 1791c1797 < * @return the array of <code>Method</code> objects representing all the --- > * @return the array of <code>Constructor</code> objects representing all the 1932a1939,1942 > * If this <code>Class</code> object represents an inner class > * declared in a non-static context, the formal parameter types > * include the explicit enclosing instance as the first parameter. > * 1934c1944 < * @return The <code>Method</code> object for the constructor with the --- > * @return The <code>Constructor</code> object for the constructor with the
08-11-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
23-07-2004

EVALUATION Should be investigated. ###@###.### 2004-04-05 Will implement for a post-Tiger release. ###@###.### 2004-07-21
05-04-2004