Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5041784
Votes 2
Synopsis (reflect) generic signature methods needlessly return generic arrays
Category java:classes_lang
Reported Against tiger-beta , tiger-beta2
Release Fixed 7(b36)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 5003398 , 6600709 , 2155076 , 6710498 , 6202725
Submit Date 04-MAY-2004
Description
the generic reflection methods return type GenericArrayType in cases when they
could simply return an array class - that is, the element type is not generic.
I think it would be preferable in that case for them to return the non-generic
type.
Work Around
N/A
Evaluation
The suggested change would be preferable but not crucial for Tiger.

  xxxxx@xxxxx   2004-05-19
Suggested fix has been applied to JDK 7.
Posted Date : 2008-08-27 09:07:39.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang