[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-110) PojoCache overriding toString or hashCode can trigger stack overflow

Ben Wang (JIRA) jira-events at jboss.com
Tue Jul 25 22:19:12 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBCACHE-110?page=all ]

Ben Wang updated JBCACHE-110:
-----------------------------

    Fix Version/s: 2.0.0
                       (was: POJOCache)

> PojoCache overriding toString or hashCode can trigger stack overflow
> --------------------------------------------------------------------
>
>                 Key: JBCACHE-110
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-110
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: PojoCache
>    Affects Versions: 1.2
>            Reporter: Ben Wang
>         Assigned To: Ben Wang
>             Fix For: 2.0.0
>
>   Original Estimate: 2 weeks
>  Remaining Estimate: 2 weeks
>
> In TreeCacheAOp, certain over-riding will trigger stack overflow. THis is becuase of the recursive field interecption that results. Solution is to detect the field recusion.
> Kabir has done it in:
> org.jboss.aspects.dbc.DesignByContractAspect

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list