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 6544 - If an initializer is removed, changing properties the following one will sometimes bring the removed initializer back.
Summary: If an initializer is removed, changing properties the following one will some...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P1 major (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-05 00:13 UTC by Jan Becicka
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 Jan Becicka 2000-05-05 00:13:38 UTC
Create class with multiple initializers. Try to delete and modificate initilizers. Sometimes this bug occurs: Deleted modifier is back and can overwrite methods (e.g. donothing()).

class Foo {
 static{}
 {}
 void donothing(){}
 {}
 {}
}


[Svata] This bug dates probably from pre-gandalf times. Initializers simply didn`t update their positions after reparse.
Comment 1 Quality Engineering 2003-07-02 17:20:56 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.