Opened 8 years ago
Closed 8 years ago
#65 closed defect (fixed)
String #hash return different values for instances of String and Unicode16/32String
Reported by: | vranyj1 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | yes |
Description
...when string contains character with codepoint 0. Test:
self assert: (String with: (Character codePoint:0)) hash == (Unicode16String with: (Character codePoint:0)) hash. self assert: (String with: (Character codePoint:0)) hash == (Unicode32String with: (Character codePoint:0)) hash.
This especially affects STX:LIBJAVA as char[] created in Java are instances of Unicode16String.
Change History (2)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in 8735bd9eee2f/stx.libbasic.