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

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

     [ https://issues.apache.org/jira/browse/CAY-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-2066:
---------------------------------
    Fix Version/s: 3.1.1

> 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
>             Fix For: 3.1.1, 4.0.M4
>
>
> 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)