| Summary: | Classpath problems because the IDependencyGraph is missing data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Sholl <jsholl> | ||||
| Component: | jst.j2ee | Assignee: | Jason Sholl <jsholl> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | ccc, david_williams, raghunathan.srinivasan | ||||
| Version: | 3.2 | Flags: | raghunathan.srinivasan:
pmc_approved?
raghunathan.srinivasan: pmc_approved+ jsholl: pmc_approved? (naci.dai) raghunathan.srinivasan: pmc_approved? jsholl: pmc_approved? (neil.hauge) jsholl: pmc_approved? (kaloyan) david_williams: pmc_approved+ cbridgha: review+ |
||||
| Target Milestone: | 3.2.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Server 2003 | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Jason Sholl
Created attachment 174803 [details]
patch for 3.2.1
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such.
The incorrect computation of the EAR Libraries classpath container is a major issue for our customers. There may also be other side effects of an inproperly computed dependency graph.
* Is there a work-around? If so, why do you believe the work-around is insufficient?
Restart workbench
* How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added?
Tested by hand and tested with JUnits.
* Give a brief technical overview. Who has reviewed this fix?
See above.
* What is the risk associated with this fix?
None
Jason I approve, but please do thorough testing on this. Is this related to bug 319654? Just from glancing at patch, this looks like a pretty big changed. Are you saying it will be frequently encountered? And viewed as a major regression? If so, regression from 3.2.0? Or 3.1.2? (If the later, why not found until now?) This is not related to bug 319654. From a user's perspective, this is a regression which was introduced in 3.2.1 with bug 317120. However, technically, this problem has always existed but would rarely be encountered in 3.2 or earlier. Bug 317120 significantly improved performance of this code. Prior to this fix all the IResourceChanged events would have worked their way through before the processing began (because it was much slower (and deadlock prone)). Users may encounter this problem any time they import load Java EE projects into their workspace. The most likely scenario is if they do not load all of their related projects at the same time. Once the projects are loaded this problem has been known to occur (though in theory could without these fixes). Ok, thanks Jason. Since users will experience this as a regression, I'll approve. Test well! Thanks for fixing. +1. Discussed the problem and risk with Jason, and reviewed the patch. Will need lots of testing, but I approve. Approved since the bug is a regression due to change in 3.2.1. code checked into head for 3.2.1 |