[jboss-jira] [JBoss JIRA] (WFLY-4086) If a ManagedExecutorService's Runnable throws an exception, it should not be eaten (but it's stacktrace should be shown in the console) by default

Geoffrey De Smet (JIRA) issues at jboss.org
Fri Nov 14 11:06:29 EST 2014


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

Geoffrey De Smet updated WFLY-4086:
-----------------------------------
    Summary: If a ManagedExecutorService's Runnable throws an exception, it should not be eaten (but it's stacktrace should be shown in the console) by default  (was: If a ManagedExecutorService's Runnable throws an exception, it should not be eaten (but it's stacktrace should be shown in teh console) by default)


> If a ManagedExecutorService's Runnable throws an exception, it should not be eaten (but it's stacktrace should be shown in the console) by default
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-4086
>                 URL: https://issues.jboss.org/browse/WFLY-4086
>             Project: WildFly
>          Issue Type: Enhancement
>    Affects Versions: 8.1.0.Final
>            Reporter: Geoffrey De Smet
>            Assignee: Jason Greene
>
> To reproduce:
> {code}
>     @Resource(name = "DefaultManagedExecutorService")
>     ManagedExecutorService executor;
>    public String myRestMethod() {
>         executor.submit(new SolverCallable());
>         return "Submitted.";
>    }
>    private class SolverCallable implements Runnable {
>         public void run() {
>               throw new IllegalStateException("Tweety bird: Please Sylvester, don't eat me!");
>         }
>    }
> {code}
> Poor tweety bird's plea (nor the stacktrace) doesn't show up in the WildFly console of a vanilla installation.
> This led me to believe I had no error.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list