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

Summary: If an initializer is removed, changing properties the following one will sometimes bring the removed initializer back.
Product: java Reporter: Jan Becicka <jbecicka>
Component: UnsupportedAssignee: Jan Becicka <jbecicka>
Status: CLOSED FIXED    
Severity: major    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.