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 10499 - [performance]I18N horribly slows down the popup of local menu.
Summary: [performance]I18N horribly slows down the popup of local menu.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-20 09:23 UTC by Petr Nejedly
Modified: 2003-07-01 09:52 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 Petr Nejedly 2001-03-20 09:23:23 UTC
The I18N tools actions group does a deep-tree scanning before it returns its
state. On a larger filesystem, it can block AWT-Event-Queue and delay the popup
for as much as several tens of seconds ( when I realized it, it took > 20s
and I was deep into the stacktrace looking for deadlock, before the local
menu appeared and IDE returned to functional state).
Don't do the scanning of the filesystem before enabling the action.
Comment 1 Peter Zavadsky 2001-03-20 09:50:03 UTC
Fixed in [release32] and [main-trunk] too. Next build available.
In enable method (of I18nGroupPopupAction) if activated node was data folder,
was scanned all tree until i18n-izable object was found or end reached. Now in
case activated node is data fodler method returns true immediatelly supposing it
can contain i18n-izable data object.
Comment 2 vnemec 2001-05-03 13:58:06 UTC
verified in [release32] (38)
Comment 3 Jan Chalupa 2001-05-05 22:41:21 UTC
Target milestone -> 3.2
Comment 4 Quality Engineering 2003-07-01 09:52:11 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.