Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 5
    That could have been implemented in another way, though. Commented Aug 16, 2013 at 0:24
  • 3
    I'd say this is a design bug. Commented Aug 16, 2013 at 3:25
  • 6
    I wonder if this ties in with why some dubious aspects of the string hash function haven't been changed: in general code shouldn't rely upon hashCode returning the same values on different runs of a program, but since string hashes get baked into executables by the compiler, the string hash method ends up being part of the language spec. Commented Aug 22, 2013 at 5:14