This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44753 - Source containing generics cannot be modified??
Summary: Source containing generics cannot be modified??
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 11:43 UTC by ehucka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception's stack trace. (3.43 KB, text/plain)
2004-06-11 11:50 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2004-06-11 11:43:12 UTC
I had a class implements java.util.Comparator. I
tried to run Override Methods on it and I obtained:
org.openide.src.SourceException: Source containing
generics cannot be modified: 

Why Override Methods and Fast Import cannot change
the code and a user can?
Comment 1 ehucka 2004-06-11 11:50:15 UTC
Created attachment 15651 [details]
Exception's stack trace.
Comment 2 Martin Matula 2004-06-20 12:43:41 UTC
Fixed some time ago for the code that does not contain generics in
method/field/class headers. The fact that the old source hierarchy
cannot change code using 1.5 features is as designed. Fast Import and
Override Methods needs to be rewritten to use JMI to support 1.5 features.
Comment 3 ehucka 2004-08-18 10:20:41 UTC
verified