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 44940 - [perf] Browse for Main Project's class is done in AWT Thread
Summary: [perf] Browse for Main Project's class is done in AWT Thread
Status: CLOSED DUPLICATE of bug 45422
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
: 43818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-16 10:09 UTC by dmladek
Modified: 2006-03-24 10:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FullThreadDump (13.14 KB, text/plain)
2004-06-16 10:10 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-06-16 10:09:55 UTC
Product Version       = NetBeans IDE Dev (Build
200406151800)
  Operating System      = Linux version
2.4.22-1.2115.nptl running on i386
  Java; VM; Vendor      = 1.5.0-beta3; Java
HotSpot(TM) Client VM 1.5.0-beta3-b55; Sun
Microsystems Inc.
  Java Home             = /usr/local/java/jdk1.5.0/jre
  System Locale; Encod. = cs_CZ (nb); ISO-8859-2
-------------------------------------------------------------------------------

Customization of J2SE App project type, especialy
setting Main Class is done in AWT Thread which has
side effect that user might think that IDE freez.

See Thread Dump

Reporduction:
1)Have J2SEE App project. Don't generate Main
class when you creating it.
2)Have some sources with some class containing
Main method
3) Invoke Properties on your Project node.
4) Under the node Run, select node Running Project
   and click to BRowse button of Main Class.

5) Your sources are scanned in blocking AWT (not
in background) to help you identify Main Class of
the project. 

You have to wait very long time till a dialog
where you could select main class is brought up.
Comment 1 dmladek 2004-06-16 10:10:18 UTC
Created attachment 15734 [details]
FullThreadDump
Comment 2 Tomas Zezula 2004-06-30 17:22:28 UTC
*** Issue 43818 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Zezula 2004-07-01 16:47:46 UTC

*** This issue has been marked as a duplicate of 45422 ***
Comment 4 dmladek 2004-08-10 15:07:11 UTC
OK