gezapeti commented on a change in pull request #328: DAFFODIL-2288 bump jackson version to 2.10.2 URL: https://github.com/apache/incubator-daffodil/pull/328#discussion_r386087115
########## File path: daffodil-runtime1/src/main/scala/org/apache/daffodil/infoset/JsonInfosetOutputter.scala ########## @@ -45,7 +45,7 @@ class JsonInfosetOutputter private (writer: java.io.Writer, pretty: Boolean, dum // is false). private val isFirstChildStack = MStackOfBoolean() - private val stringEncoder = BufferRecyclers.getJsonStringEncoder() // thread-safe instance of a string encoder + private val stringEncoder = JsonStringEncoder.getInstance() Review comment: Based on changes in Jackson, the JsonStringEncoder is thread safe after 2.10. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
