|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 94 | minor | always | 04-11-05 00:00 | 05-11-05 00:00 | |
|
|
|||||
| Reporter: | user72 | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | high | OS Version: | |||
| Status: | closed | Product Version: | 3.0.12 | ||
| Product Build: | 3.0.12 | Resolution: | fixed | ||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.13 | ||
|
|
|||||
| 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 | ||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |