You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sebastien Doyon (JIRA)" <ji...@apache.org> on 2017/11/14 13:43:00 UTC
[jira] [Commented] (KARAF-5364)
org.apache.karaf.scheduler.Scheduler.schedule declares throws
org.quartz.SchedulerException, but that's not API
[ https://issues.apache.org/jira/browse/KARAF-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251387#comment-16251387 ]
Sebastien Doyon commented on KARAF-5364:
----------------------------------------
Can you please merge this fix into the next release? This is not fixed at least in the last two releases (4.1.2 and 4.1.3).
> org.apache.karaf.scheduler.Scheduler.schedule declares throws org.quartz.SchedulerException, but that's not API
> ---------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-5364
> URL: https://issues.apache.org/jira/browse/KARAF-5364
> Project: Karaf
> Issue Type: Bug
> Components: karaf-scheduler
> Reporter: Tom Quarendon
> Assignee: Jean-Baptiste Onofré
>
> The org.apache.karaf.scheduler.Scheduler.schedule methods are declared as throwing org.quartz.SchedulerException.
> This leaks the implementation, but also SchedulerException is not exported from the bundle, so you get a "Discouraged access" whinge if you try and catch it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)