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 64237 - Deadlock after substituting @Retention
Summary: Deadlock after substituting @Retention
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 13:17 UTC by Martin Roskanin
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
fuul thread dump (17.66 KB, text/plain)
2005-09-13 13:19 UTC, Martin Roskanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Roskanin 2005-09-13 13:17:49 UTC
Deadlock occured after substituting @Retention annotation in completion:

1. type @ after that invoke CC
2. select Retention in the list
3. press enter

Problem seems to be in calling non thread safe code in request processor
Comment 1 Martin Roskanin 2005-09-13 13:19:17 UTC
Created attachment 24749 [details]
fuul thread dump
Comment 2 Miloslav Metelka 2005-09-14 15:05:00 UTC
Yes, the JTextComponent.select() should be done in AWT. Reassigning to Honza P.
Comment 3 Jan Pokorsky 2005-09-15 11:12:31 UTC
fixed in

/cvs/java/editor/src/org/netbeans/modules/editor/java/NbJMIResultItem.java
new revision: 1.22; previous revision: 1.21