[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7030) EventListenerRegistry interface generic declaration is not extensible to subclasses
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Feb 8 08:37:10 EST 2012
[ https://hibernate.onjira.com/browse/HHH-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45408#comment-45408 ]
Steve Ebersole commented on HHH-7030:
-------------------------------------
Thanks George
> EventListenerRegistry interface generic declaration is not extensible to subclasses
> -----------------------------------------------------------------------------------
>
> Key: HHH-7030
> URL: https://hibernate.onjira.com/browse/HHH-7030
> Project: Hibernate ORM
> Issue Type: Bug
> Reporter: George Gastaldi
> Assignee: Steve Ebersole
> Fix For: 4.1.0
>
> Time Spent: 4m
>
> When calling
> {code}
> eventListenerRegistry.prependListener(EventType<T>, Class<T> cl);
> {code}
> it fails with a compilation error if I place a class that implements this interface in the second parameter. It should read:
> {code}
> eventListenerRegistry.prependListener(EventType<T>, Class<? extends T> cl);
> {code}
> Same to appendListener and setListener
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list