os890 edited a comment on issue #89: Test and Bugfix for null entitymanager when first usage is concurrent… URL: https://github.com/apache/deltaspike/pull/89#issuecomment-492006511 @rdomingonl, @tandraschko: this fix is not correct - please see initGlobalEntityManager - that one is synchronized -> the basic approach is fine (that style is used across the code-base), however, the issue should be that this.globalEntityManagerInitialized = true; needs to be at the end of the if-block.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services