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 9905 - ClassElement.addInterfaces doesn't generate correct source
Summary: ClassElement.addInterfaces doesn't generate correct source
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-01 17:47 UTC by Martin Ryzl
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ryzl 2001-03-01 17:47:54 UTC
Steps to reproduce:

1) create an interface with at least one superinterface
2) get ClassElement for the interface above
3) call addInterfaces
4) the source code now contains only recently added interfaces
5) getInterfaces returns all interfaces
Comment 1 Svata Dedic 2001-03-01 17:59:23 UTC
I've passed incorrect value (actually the one passed to changeInterfaces()) in
creation of PropertyChangeEvent. Since the code generator is driven by those...
:-( 
Comment 2 Jan Becicka 2001-06-18 13:49:33 UTC
[010616] Verified
Comment 3 Quality Engineering 2003-07-01 13:19:07 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.