You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Victor Antonovich (JIRA)" <ji...@apache.org> on 2016/03/01 18:08:18 UTC

[jira] [Created] (CAY-2066) Memory leak in ExtendedTypeMap for inner classes

Victor Antonovich created CAY-2066:
--------------------------------------

             Summary: Memory leak in ExtendedTypeMap for inner classes
                 Key: CAY-2066
                 URL: https://issues.apache.org/jira/browse/CAY-2066
             Project: Cayenne
          Issue Type: Bug
            Reporter: Victor Antonovich


Memory leak is introduced in *o.a.c.access.types.ExtendedTypeMap* by method *getRegisteredType(String)* when it's called with inner class name in "dot" notation. Since *ExtendedType* created by *getExplictlyRegisteredType(String)* is registered by *registerType(ExtendedType)* method using "$" class name notation, *extendedTypeFactories* list will grow up after each method call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)