rzo1 opened a new pull request, #185:
URL: https://github.com/apache/openjpa/pull/185

   `FieldMetaData` and `ConverterElementHandler` are shared across brokers and 
threads, but they cached the converter instance and its methods in plain 
fields. Those fields are now `volatile`, and the instance is created with 
double-checked locking, so exactly one fully constructed converter is shared. 
New race tests check this, and the javadoc now says converters must be 
thread-safe.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to