[FORGE-261] state in enhanced classes not preserved accross nodes
Created: 07/Aug/08 Updated: 10/Mar/10
Project: Terracotta Forge Projects
Affects Version/s: None
Fix Version/s: None
Type: Bug Priority: 2 Major
Reporter: Tim Eck Assignee: Product Management
Resolution: Unresolved Votes: 0
File Attachments: cglib-test.zip
Issue Links: Related
relates to FORGE-260 Cannot fault CGLIB instances Resolved
Terracotta Target: Pending
When a cglib proxy instance (aka enhanced class) is shared, the only state we record is the type and the callback
object. Any instance state of the type being enhanced is lost.
Attached is a example of this. After running the program the second time, the value of "Foo.value" will be null,
athough in the shared instance it was set to something non-null.
You won't be to run this program w/o fixed or the workaround applied
Comment by Fiona O'Shea [ 11/Aug/08 04:09 PM ]
Who is this for?
How hard to fix?
How likely for someone to come across it?
Comment by Tim Eck [ 12/Aug/08 02:38 PM ]
Not for anyone, just something I noticed while evaluating
Fix might be a little involved since we play a trick with the applicator here, but we really need the physical applicator
too to get state.
I think if someone was actually using this module they would hit it pretty quick. It seems pretty unexpected that state
wouldn't be preserved.
Generated at Wed Feb 15 14:12:32 PST 2012 using JIRA 4.0.2#472.