Anonymous | Login | Signup for a new account | 11-22-2024 02:57 PST |
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 | ||||
0000094 | [Resin] | minor | always | 04-11-05 00:00 | 05-11-05 00:00 | ||||
Reporter | user72 | View Status | public | ||||||
Assigned To | |||||||||
Priority | high | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.13 | Product Version | 3.0.12 | ||||
Product Build | 3.0.12 | ||||||||
Summary | 0000094: cached deserializers are never used in SerializerFactory | ||||||||
Description |
RSN-85 In com.caucho.hessian.io.SerializerFactory.getDeserializer(String type), there is the following code: if (_cachedTypeDeserializerMap != null) deserializer = (Deserializer) _cachedTypeDeserializerMap.get(type); deserializer = (Deserializer) _typeMap.get(type); if (deserializer != null) { return deserializer; } The deserializer returned from the cache is always overwritten by the one from _typeMap. Should be: if (_cachedTypeDeserializerMap != null) deserializer = (Deserializer) _cachedTypeDeserializerMap.get(type); if (deserializer == null) deserializer = (Deserializer) _typeMap.get(type); if (deserializer != null) { return deserializer; } |
||||||||
Steps To Reproduce | |||||||||
Additional Information | all | ||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Issue History | |||
Date Modified | Username | Field | Change |
04-11-05 00:00 | user72 | New Issue | |
11-30-05 00:00 | administrator | Fixed in Version | => 3.0.13 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 25 unique queries executed. |