#186324 - [69cat] Deadlock

Dusan Balek <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Organization Sun Microsystems
Message-ID <[email protected]>
http://netbeans.org/bugzilla/show_bug.cgi?id=186324

Description: Wrong lock order - JavaCodeTemplateProcessor tries to
acquire the parser lock when it is already under the document lock.

Impact: Deadlock occurs.

Risk: The fix should not affect any features other then code template
editing. Code template editing was tested and seem to work OK.
Otherwise, the fix should be safe.

Changeset: http://hg.netbeans.org/jet-main/rev/a44fe4ba99cd

Reviewers: Peter Pis, Tomas Zezula

Thanks for review,
Dusan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.