Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005385 [Hessian] minor always 03-04-13 09:11 03-11-16 04:00
Reporter Moritz Lapp View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.7
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 [^] 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.
Additional Information
Attached Files [^] (589 bytes) 03-04-13 09:11

- Relationships

- Notes
03-11-16 04:00
edited on: 03-11-16 04:11

Hello, in which next release this fix will be added?


- Issue History
Date Modified Username Field Change
03-04-13 09:11 Moritz Lapp New Issue
03-04-13 09:11 Moritz Lapp File Added:
03-04-13 09:11 Moritz Lapp Issue Monitored: Moritz Lapp
03-11-16 04:00 jpietka Note Added: 0006681
03-11-16 04:11 jpietka Note Edited: 0006681

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker