Mantis - Hessian
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5487 | block | always | 07-11-13 00:29 | 07-11-13 00:55 | |
|
|||||
Reporter: | sander | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.7 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0005487: issue 5239 is not fixed .ArrayIndexOutOfBoundsException | ||||
Description: |
issue 5239 is not fixed int hash = System.identityHashCode(key) % prime; can return negative integers 1. because ibm sdk 1.6 AIX can give negative identityHashCode 2. because java returns negative modulo result for negative first operand addition: if (hash < 0) { hash += prime; } guarantees >=0 integers (and maintains modulo) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|