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 107493 - IDE eats 100% of my processor after ALT+SHIFT+F
Summary: IDE eats 100% of my processor after ALT+SHIFT+F
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2007-06-20 19:10 UTC by Lukas Hasik
Modified: 2007-11-06 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (51.12 KB, text/plain)
2007-06-20 19:11 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2007-06-20 19:10:32 UTC
Product Version: NetBeans IDE Dev (Build 200706180000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: F:\netbeans\userdirs\nb60-0618

-create new Mobility > Mobile Application project
-create New > Visual MIDlet
-go to Source of the midlet
-invoke CTRL+ALT+F

->IDE freeze, thread dump attached
Comment 1 Lukas Hasik 2007-06-20 19:11:54 UTC
Created attachment 44098 [details]
thread dump
Comment 2 Lukas Hasik 2007-06-21 16:09:25 UTC
easily reproducible.

The correct shortcut is ALT+SHIFT+F (Reformat code)
Comment 3 Dusan Balek 2007-06-22 12:47:27 UTC
Fixed.

Checking in NbJavaFormatter.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/NbJavaFormatter.java,v  <--  NbJavaFormatter.java
new revision: 1.3; previous revision: 1.2
done
Comment 4 Lukas Hasik 2007-11-06 18:16:06 UTC
v