Bug 82497 - (3.1 200412162000) Generic array parameters recognized as Object[]
Summary: (3.1 200412162000) Generic array parameters recognized as Object[]
Status: RESOLVED DUPLICATE of bug 81719
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 13:38 EST by David Gates CLA
Modified: 2005-01-12 04:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gates CLA 2005-01-10 13:38:56 EST
Example:

---ParameterizedBase.java---
public interface ParameterizedBase<T> {
	public void usesVarargs(T[] params);
}

---Subclass.java---
/* marker text:
The type SubClass<T> must implement the inherited abstract method
ParameterizedBase<T>.
usesVarargs(Object[])
*/

public class Subclass<T> implements ParameterizedBase<T> { // marker on "Subclass"
	public void usesVarargs(T[] params) {
	}
}
Comment 1 Jerome Lanneluc CLA 2005-01-11 09:10:36 EST
Verified this now works using HEAD.
Comment 2 David Gates CLA 2005-01-11 14:02:14 EST
(3.1 build I20050111-0800)
Only shows up after changing Subclass.java then manual/auto building.  Cleaning
project erases marker.

Using default compiler settings except compiler compliance level, which is 5.0.
Comment 3 Philipe Mulet CLA 2005-01-12 04:30:44 EST
It is fixed in HEAD

*** This bug has been marked as a duplicate of 81719 ***