[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3220) AbstractHashTable resize gets corrupted

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Oct 2 19:32:26 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-3220:
----------------------------------

        Summary: AbstractHashTable resize gets corrupted  (was: getFactHandle(fact) sometimes returns null even thought the fact is there.)
    Description: 
see MiscTest.testGetFactHandle() which is a regression test for that issue.
----
The reason for this is that the resize method uses the comparators rehash method. In some cases the key caches a rehashed value and in some it doesn't. Causing an already rehashed number to be rehashed again.

  was:see MiscTest.testGetFactHandle() which is a regression test for that issue.



> AbstractHashTable resize gets corrupted
> ---------------------------------------
>
>                 Key: JBRULES-3220
>                 URL: https://issues.jboss.org/browse/JBRULES-3220
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Assignee: Mario Fusco
>
> see MiscTest.testGetFactHandle() which is a regression test for that issue.
> ----
> The reason for this is that the resize method uses the comparators rehash method. In some cases the key caches a rehashed value and in some it doesn't. Causing an already rehashed number to be rehashed again.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list