Maxim Solodovnik created OPENJPA-2958:
-----------------------------------------

             Summary: Direct access to ImplHelper._unenhancedInstanceMap
                 Key: OPENJPA-2958
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2958
             Project: OpenJPA
          Issue Type: Sub-task
          Components: jpa
    Affects Versions: 4.2.0
            Reporter: Maxim Solodovnik
             Fix For: 4.2.0


Discussion thread: 
https://github.com/apache/openjpa/pull/144#discussion_r3683000504


**(low)** Reaching into `ImplHelper._unenhancedInstanceMap` (a public mutable 
static field) directly is fragile - suggest a small 
`ImplHelper.registerUnenhancedInstance(obj, pc)` method instead of exposing the 
raw map.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to