solomax commented on code in PR #170:
URL: https://github.com/apache/openjpa/pull/170#discussion_r3891616623
##########
openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java:
##########
@@ -61,7 +61,16 @@ public class ImplHelper {
private static final Map _assignableTypes =
new ConcurrentReferenceHashMap(ReferenceStrength.WEAK,
ReferenceStrength.HARD);
- // map of all new unenhanced instances active in this classloader
+ /**
+ * Map of all new unenhanced instances active in this classloader, keyed
+ * by object identity. Keys are held weakly, values strongly.
+ *
+ * @deprecated use
+ * {@link #registerUnenhancedInstance(Object, PersistenceCapable)} to add
+ * mappings and {@link #toPersistenceCapable(Object, Object)} to resolve
+ * them.
+ */
+ @Deprecated
public static final Map _unenhancedInstanceMap =
Review Comment:
We are already add some incompatibilities maybe it worth to make it
`private`?
--
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]