[ https://issues.apache.org/jira/browse/CAY-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175547#comment-15175547 ]
ASF GitHub Bot commented on CAY-2066: ------------------------------------- GitHub user 3cky opened a pull request: https://github.com/apache/cayenne/pull/90 CAY-2066 Fixes for inner enums handling in ExtendedTypeMap Proposed fix for CAY-2066 (with testcase). You can merge this pull request into a Git repository by running: $ git pull https://github.com/3cky/cayenne cay-2066 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/90.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #90 ---- commit 1226b7778d71de758b3b422cd67dfb935f965450 Author: Victor Antonovich <v.antonov...@gmail.com> Date: 2016-03-02T12:53:08Z CAY-2066 Fixes for inner enums handling in ExtendedTypeMap ---- > 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)