Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361184

Summary: When merging untriggered VH from NestedUOW to parent wrong VH is used
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: eclipselink.foundation-inbox, gordon.yorke
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
the fix - always unwrap the vh none

Description Gordon Yorke CLA 2011-10-17 16:00:24 EDT
This issue is caused by a change to BasicIndirectionPolicy that was added for the Protected Cache Isolation bug.

The code was changed to only unwrap if the target session is a Shared session but this eliminated some of the usages of the getOriginalVH code.  

The code should be changed to always unwrap one layer then if the target is a Shared Session then continue to unwrap until the shared VH is available.
Comment 1 Andrei Ilitchev CLA 2011-10-17 16:04:39 EDT
Created attachment 205370 [details]
the fix - always unwrap the vh
Comment 2 Andrei Ilitchev CLA 2011-10-17 17:01:06 EDT
Checked in the patch into 2.3.1 and 2.4
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:15:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:26:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink