[jboss-jira] [JBoss JIRA] (JBRULES-3441) Declared Beans with interface-typed fields cause exceptions when evaluating equals() and hashCode()

Mario Fusco (JIRA) jira-events at lists.jboss.org
Tue May 1 05:56:18 EDT 2012


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

Mario Fusco resolved JBRULES-3441.
----------------------------------

    Resolution: Done

    
> Declared Beans with interface-typed fields cause exceptions when evaluating equals() and hashCode() 
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3441
>                 URL: https://issues.jboss.org/browse/JBRULES-3441
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler, drools-core
>            Reporter: Davide Sottara
>            Assignee: Davide Sottara
>
> Given an interface:
> interface SomeInterface { 
>   int getId(); 
>   void setId(int id); 
> } 
> and a declared bean:
> declare SomeFact ( 
>   x : SomeInterface @key 
> ) 
> the system throws an exception "a class is expected but an interface is found" when evaluating the hashCode method

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list