|Anonymous | Login | Signup for a new account||07-04-2020 03:24 PDT|
|Main | My View | View Issues | Change Log | Docs|
|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|
|Summary||0005385: Hessian IdentityIntMap ArrayIndexOutOfBoundsException|
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.
|Attached Files||hessian-IdentityIntMap.java.patch [^] (589 bytes) 03-04-13 09:11|
edited on: 03-11-16 04:11
Hello, in which next release this fix will be added?
|03-04-13 09:11||Moritz Lapp||New Issue|
|03-04-13 09:11||Moritz Lapp||File Added: hessian-IdentityIntMap.java.patch|
|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.