I would suggest not to use "==" for Objects
use equals method.
As i understand the 127 range of caching may be done for performance reasons,
you may be suprised that sometimes even two diff
string objects come out as equal,
In fact I once raised this Question to one of my professor in college that she should have used
instead of
and guess what I got back in reply:
When I ran it, it worked fine