Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361184 - When merging untriggered VH from NestedUOW to parent wrong VH is used
Summary: When merging untriggered VH from NestedUOW to parent wrong VH is used
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 16:00 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:26 EDT (History)
2 users (show)

See Also:


Attachments
the fix - always unwrap the vh (1.22 KB, patch)
2011-10-17 16:04 EDT, Andrei Ilitchev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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