| Anonymous | Login | Signup for a new account | 10-28-2025 15:03 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0005487 | [Hessian] | block | always | 07-11-13 00:29 | 07-11-13 00:55 | |||||||
| Reporter | sander | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | Platform | ||||||||
| Status | new | OS | ||||||||||
| Projection | none | OS Version | ||||||||||
| ETA | none | Fixed in Version | Product Version | 4.0.7 | ||||||||
| Product Build | ||||||||||||
| 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 | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Notes |
|
|
(0006285) sander 07-11-13 00:55 |
geez I missed 0005385... but this is not minor to us and Math.abs is likely to yield hash collisions reducing efficiency |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 07-11-13 00:29 | sander | New Issue | |
| 07-11-13 00:55 | sander | Note Added: 0006285 | |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |