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 225427 - Accessing file system in EDT: mime resolving on every focus gain
Summary: Accessing file system in EDT: mime resolving on every focus gain
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks: 218138
  Show dependency tree
 
Reported: 2013-01-28 17:43 UTC by Egor Ushakov
Modified: 2013-05-08 02:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
EDT stacktrace (4.98 KB, text/plain)
2013-01-28 17:43 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2013-01-28 17:43:28 UTC
Created attachment 130740 [details]
EDT stacktrace

During every focus gain/lost we update the list of CND opened editors checking mime types of the opened files. If there is a file with mime type requiring file read (e.g. without an extension) we'll call File.exist several times on every focus change, see attached stacktrace.
Comment 1 Egor Ushakov 2013-05-07 11:17:23 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/f00a6d0fee74
Comment 2 Quality Engineering 2013-05-08 02:24:05 UTC
Integrated into 'main-golden', will be available in build *201305072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f00a6d0fee74
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #225427 - Accessing file system in EDT: mime resolving on every focus gain