No problemo Paul. I'm eliminating all use of new Boolean() in our code base as we speak, but these further changes will only be trunk
_____ 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:56 PM To: tc-dev@lists.terracotta.org Subject: Re: [tc-dev] Boolean reference equality Sweet! Sorry, my bad. I didn't notice that the ticket was already Resolved. I was basically just searching for uses of new Boolean(), and that's how I stumbled on BooleanSerializer. Since 1171, 1233, and 1234 are resolved that will make my TIM for clojure much simpler and easier to maintain. Thanks, Tim! Paul On Tue, Apr 14, 2009 at 5:46 PM, Tim Eck <t...@terracottatech.com> wrote: 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 <http://svn.terracotta.org/fisheye/changelog/%7Ebr=dso-3.0,author=teck/Ter racotta/?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
_______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev