[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
Brian Stansberry (JIRA)
issues at jboss.org
Mon Dec 1 18:38:40 EST 2014
[ https://issues.jboss.org/browse/WFLY-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-4086:
-----------------------------------
Component/s: EE
> 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
> Components: EE
> 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