Mantis - Hessian
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5385 | minor | always | 03-04-13 09:11 | 03-11-16 04:00 | |
|
|||||
Reporter: | Moritz Lapp | 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: | 0005385: Hessian IdentityIntMap ArrayIndexOutOfBoundsException | ||||
Description: |
This is a follow-up to 0005239, albeit from someone else... Basically, we ran into the same problem as described in 0005239 using hessian 4.0.7 as downloadable from http://hessian.caucho.com [^] and fixed it ourselves without knowing that a new version existed. However, in our fix, we not only modified com.caucho.hessian.util.IdentityIntMap#put(Object, int, boolean), but com.caucho.hessian.util.IdentityIntMap#get(Object) as well. Though we took a slightly different approach, a matching patch is attached and should serve you well. It's just that we're a bit afraid that the IdentityIntMap might not only be used for put only, but that the very same problem might arise for get as well, as both rely on the same System#identityHashCode behavior. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | hessian-IdentityIntMap.java.patch [^] (589 bytes) 03-04-13 09:11 |
Notes | |||||
|
|||||
|
|