| Summary: | Existence of classpath dependencies should not break single-root | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Peterson <jasonpet> | ||||||||||
| Component: | jst.j2ee | Assignee: | Jason Peterson <jasonpet> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | ccc, david_williams, jsholl, stryker | ||||||||||
| Version: | 3.2 | Flags: | david_williams:
pmc_approved+
jasonpet: pmc_approved? (raghunathan.srinivasan) jasonpet: pmc_approved? (naci.dai) jasonpet: pmc_approved? (deboer) jasonpet: pmc_approved? (neil.hauge) jasonpet: pmc_approved? (kaloyan) cbridgha: review+ |
||||||||||
| Target Milestone: | 3.2.2 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | PMC_approved | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Jason Peterson
Created attachment 177880 [details]
patch
Created attachment 177881 [details]
junit_patch
approved * 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.
Performance is hurt on some servers when a project is not considered to be single-root. Projects that have classpath dependencies did not break single-root in the past and because this check was added in 8.0 a regression in performance will occur for some servers.
* Is there a work-around? If so, why do you believe the work-around is
insufficient?
No workaround exists for users that tag classpath entries with the classpath dependency flag.
* How has the fix been tested? Is there a test case attached to the
bugzilla record? Has a JUnit Test been added?
JUnit testcase is attached. I have added a new testcase.
* Give a brief technical overview. Who has reviewed this fix?
The solution was to remove the classpath dependencies check from the single-root
utility and add the necessary participants to the single-root code path for finding the classpath dependencies.
Chuck has reviewed this fix.
* What is the risk associated with this fix?
minimal - regression tests have been run and a new testcase added.
Created attachment 177894 [details]
junit_patch_updated
Created attachment 177896 [details]
junit_patch_v3
agreed this performance regression is urgent to fix. Committed to HEAD for WTP 3.2.2 and WTP 3.3 Note that this also reinstated the ClasspathDependencyWebTests.suite() tests that were disabled in org/eclipse/jst/j2ee/classpath/tests/AllTests.java for bug 234409 |