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.
Based on issue #154019 it can be reproduced by 1. Create PHP project 2. Create a new PHP file 3. Select All text 4. Paste the following text <? class Form { function add_text_field() {} function add_listbox() {} } ?> 5. Invoke Alt+Shift+F for reformat. 6. CPU at 100% due to infinite loop in DirectMergeContainer.
http://hg.netbeans.org/jet-main/rev/e4f2e2e42ab6
*** Bug 208487 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201202210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e4f2e2e42ab6 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #208652 - Infinite loop in DirectMergeContainer.
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e4f2e2e42ab6 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #208652 - Infinite loop in DirectMergeContainer.