rzo1 opened a new pull request, #170: URL: https://github.com/apache/openjpa/pull/170
`BrokerImpl` reached into the public mutable `ImplHelper._unenhancedInstanceMap` to register the persistence-capable instance of an unenhanced one. This adds a method for it and routes all three write sites through it, so the registry is no longer written to from outside the class that owns it. Behaviour is unchanged — the method is the same overwriting put. The field is deprecated to point callers at the method, but stays public. Its type is a reference type, so it is never inlined into callers, and making it private would surface as a `NoSuchFieldError` at runtime for anything compiled against 4.1.x rather than as a compile error on upgrade. That belongs in a major release. -- 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]
