Community
Participate
Working Groups
Build Identifier: M20090917-0800 TextStyle.hashCode() contains, among other lines, the following: if (underline) hash ^= hash; if (strikeout) hash ^= hash; which would set hash = 0 This may have been done on purpose Reproducible: Always Steps to Reproduce: invoke TextStyle.hashCode() for a StyleRange that has field 'underline' set
That doesn't look good. Silenio, is something like this better: if (underline) hash ^= (hash << 1); if (strikeout) hash ^= (hash << 2); ?
Fixed in HEAD > 20101013 Thank you Radu for point this out.