CDV-1233 is already fixed in the 3.0 branch and will be publically
available as a release when 3.0.1 is out the door. 

 

http://svn.terracotta.org/fisheye/changelog/~br=dso-3.0,author=teck/Terrac
otta/?cs=12457

 

 

I'll have to look at com.tc.io.serializer.impl.BooleanSerializer to see
why it feels compelled to not use Boolean.valueOf(). I'm pretty sure that
type is used for storage inside the terracotta server and wouldn't affect
the Boolean instances you can observe from your application code

 

  _____  

From: tc-dev-boun...@lists.terracotta.org
[mailto:tc-dev-boun...@lists.terracotta.org] On Behalf Of Paul Stadig
Sent: Tuesday, April 14, 2009 2:37 PM
To: tc-dev@lists.terracotta.org
Subject: [tc-dev] Boolean reference equality

 

I'm interested in either getting Boolean.TRUE == Boolean.TRUE
(https://jira.terracotta.org/jira/browse/CDV-1233) behavior in TC.

I have created a test case, and I thought I could change
com.tc.io.serializer.impl.BooleanSerializer to use Boolean.TRUE and
Boolean.FALSE instead of new Boolean(bool). That didn't seem to make my
test case pass, and there's a lot of code to get familiar with, so I'm not
sure I'm even headed in the right direction.

Could someone give me a hint about where I should be looking to implement
this?


Thanks,
Paul

_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to