Home
/
note
/
thread
Hello Anon,
Login?
Links
help
gameplay
items
work
fight
trade
kohaku-faq
kohaku-scripts
A thread from /blog/3522128
View /blog/3522128
View all posts.
posted by
nothobob
on 2011-02-23 05:20:30 (13 years ago)
Would you believe that that bug was caused by.
Boolean.FALSE.equals(o)
failing to compare true with a value that was previously set to Boolean.FALSE then saved and retrieved from memcache.
It is still a boolean and it is still set to false. But it is no longer the *same* false as Boolean.FALSE.
I fucking hate Java.
posted by
Kohaku
on 2011-02-23 13:26:46 (13 years ago)
The joys of debugging.
Click here to login if you wish to comment.
View all posts.
11 years ago
saltyfish
commented on
profile of saltyfish
Boolean.FALSE.equals(o)
failing to compare true with a value that was previously set to Boolean.FALSE then saved and retrieved from memcache.
It is still a boolean and it is still set to false. But it is no longer the *same* false as Boolean.FALSE.
I fucking hate Java.