rzo1 opened a new pull request, #193: URL: https://github.com/apache/openjpa/pull/193
`EntityManagerFactoryImpl.getProperties()` cached its result even when no EntityManager existed yet, so the EM-level defaults were then missing from that map for good. The cache is now only installed once those defaults are known, and both fields are `volatile` so a caller racing with the first `createEntityManager()` cannot install an incomplete map either. `TestEMFPropertiesCache` covers both orderings. -- 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]
