[jboss-jira] [JBoss JIRA] (WFLY-5221) TimerServiceTimerService.getTimers() returns not only the associated timer entries for the current Bean

Stuart Douglas (JIRA) issues at jboss.org
Thu Aug 27 19:30:05 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-5221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102937#comment-13102937 ] 

Stuart Douglas commented on WFLY-5221:
--------------------------------------

I attempted to reproduce this here, but it appears to work as expected: https://github.com/wildfly/wildfly/compare/master...stuartwdouglas:WFLY-5221

> TimerServiceTimerService.getTimers() returns not only the associated timer entries for the current Bean
> -------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-5221
>                 URL: https://issues.jboss.org/browse/WFLY-5221
>             Project: WildFly
>          Issue Type: Bug
>            Reporter: Wolf-Dieter Fink
>            Assignee: Wolf-Dieter Fink
>            Priority: Blocker
>
> According to the spec [1] the getTimers() method must only return timers associated to the current EJB.
> This is a huge issue if timers are cancled by this collection as it will remove all timers!
> [1] https://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html#getTimers%28%29



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list