| Summary: | A race condition could occur in Server code | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Christine <jycli> | ||||||
| Component: | wst.server | Assignee: | Elson Yuen <eyuen7> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Elson Yuen <eyuen7> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ccc | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.2.5 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| See Also: | https://git.eclipse.org/r/109092 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Christine
Created attachment 208094 [details]
A patch to fix this rating issue.
In org.eclipse.wst.server.core.internal.ServerWorkingCopy.modifyModules(IModule[], IModule[], IProgressMonitor), you switched from getModules() call to what seems to be a copy of the code within that method. Is there any reason why you need to clone the code instead of calling getModules() as before? Created attachment 210079 [details]
v1.0
Update the patch based on the original that address the duplicate code problem on my previous comment.
Code released to 33M and HEAD Test impact: Have tested the following scenarios: 1. Publish and unpublish an ear file on an adopter server; 2. Remove and add a J2EE module on a published application on an adopter server; 3. Publish and unpublish web projects on TomCat 7.0 server; Committed to R3_2_5_patches New Gerrit change created: https://git.eclipse.org/r/109092 |