Summary: | JEM needs to handle a flush better | ||||||
---|---|---|---|---|---|---|---|
Product: | [WebTools] WTP Java EE Tools | Reporter: | Carl Anderson <ccc> | ||||
Component: | jst.jem | Assignee: | Carl Anderson <ccc> | ||||
Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
Severity: | major | ||||||
Priority: | P1 | CC: | david_williams, kaloyan | ||||
Version: | 1.5.5 | Flags: | david_williams:
pmc_approved+
ccc: pmc_approved? (raghunathan.srinivasan) ccc: pmc_approved? (naci.dai) ccc: pmc_approved? (deboer) ccc: pmc_approved? (neil.hauge) kaloyan: pmc_approved+ ccc: pmc_approved? (cbridgha) cbridgha: review+ |
||||
Target Milestone: | 3.2.4 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | PMC_approved | ||||||
Bug Depends on: | 343558 | ||||||
Bug Blocks: | 348396 | ||||||
Attachments: |
|
Description
Carl Anderson
2011-04-21 10:51:33 EDT
This is causing (intermittent) major problems, including unnecessary termination, of various "headless" utilities based on WTP. The adopter (IBM) is requesting that this fix be propagated to all active versions of WTP. Created attachment 193917 [details]
Keep the current Methods "valid"
approved Committed to HEAD for WTP 3.3 M7 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. When a flush occurs while Methods are being accessed, the Methods become "invalid" without warning, causing various exceptions and other problems. In headless tooling, there is no way to recover from this, and thus the tools will fail. IBM is requesting that this be fixed. Is there a work-around? If so, why do you believe the work-around is insufficient? There is no simple work-around. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? This fix was tested both via running the Java EE JUnit bucket and by providing a patch to adopters/customers that were encountering this problem utilizing tools based on WTP in a headless environment. This fix resolved their issues. Give a brief technical overview. Who has reviewed this fix? Chuck Bridgham has reviewed the fix. Simply put, instead of setting the container to null, this fix now puts in a JavaClassRef as the container, so that future queries to this Method still provide the current information, yet the reference from the JavaClass is still removed, allowing the Method to be garbage-collected as soon as no external reference exists. What is the risk associated with this fix? This is a low risk fix. Sounds important, and in need of lots of testing ... which I assume has already happened. Thanks! Committed to R3_2_maintenance for WTP 3.2.4 |