[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-871) Configuration.setListener(String type, Object listener) throws ClassCastException

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:56 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-871.
------------------------------


Closing stale resolved issues

> Configuration.setListener(String type, Object listener) throws ClassCastException
> ---------------------------------------------------------------------------------
>
>                 Key: HHH-871
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-871
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1 beta 2
>         Environment: JDK 1.5.0_03
>            Reporter: Fedor Bokov
>             Fix For: 3.1 rc 1
>
>         Attachments: setlisteners.patch
>
>
> Configuration.setListener(String type, Object listener) appears to be broken in 3.1 beta2 (Configuration.java rev 1.81).
> When setListeners(String type, Object[] listeners) is being called by setListener(String type, Object listener) it always throws ClassCastException on attempt to cast Object[] to an array of interfaces (LoadEventListener[] for example)

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

        


More information about the hibernate-issues mailing list