Bug 238685 - Possible dead lock condition in DependencyGraphImpl
Summary: Possible dead lock condition in DependencyGraphImpl
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: contributed
: 238684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-26 18:04 EDT by Ian Tewksbury CLA
Modified: 2008-07-02 23:58 EDT (History)
2 users (show)

See Also:
jsholl: review+
cbridgha: review+


Attachments
Patch (1.03 KB, patch)
2008-06-26 18:13 EDT, Ian Tewksbury CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Tewksbury CLA 2008-06-26 18:04:55 EDT
There is a possible dead lock condition that has been hit by an adopter because the inner class GraphUpdateJob in DependencyGraphImple has a null rule, the rule should be to lock on the workspace.
Comment 1 Ian Tewksbury CLA 2008-06-26 18:13:23 EDT
Created attachment 105958 [details]
Patch

patch adds rule to lock on workspace.

Has been ad hock tested with basic project creation along with running the entire Java EE tools headliss test suite.
Comment 2 Ian Tewksbury CLA 2008-06-27 08:44:46 EDT
*** Bug 238684 has been marked as a duplicate of this bug. ***
Comment 3 Chuck Bridgham CLA 2008-07-01 16:12:49 EDT
approve
Comment 4 Carl Anderson CLA 2008-07-02 23:58:22 EDT
Committed to R3_0_maintenance