SpecificData.getSchema not thread-safe
--------------------------------------
Key: AVRO-607
URL: https://issues.apache.org/jira/browse/AVRO-607
Project: Avro
Issue Type: Bug
Components: java
Affects Versions: 1.3.3
Reporter: Stephen Tu
Priority: Minor
SpecificData.getSchema uses a WeakHashMap to cache schemas, but WeakHashMap is
not thread-safe, and the method itself is not synchronized. Seems like this
could lead to the data structure getting corrupted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.