Command failures in catch block are not printed in case finally block fails as well.
reproduce
$ cat test.cli try echo try block fail try catch echo catch block fail catch finally echo finally block fail finally end-try
actual
$ ./jboss-cli.sh -c --file=test.cli try block catch block finally block Unexpected command 'fail finally'. Type 'help --commands' for the list of supported commands.
expected
$ ./jboss-cli.sh -c --file=test.cli try block catch block Unexpected command 'fail catch'. Type 'help --commands' for the list of supported commands. finally block Unexpected command 'fail finally'. Type 'help --commands' for the list of supported commands.
- is cloned by
-
WFCORE-1901 Fail in finally block overrides the fail in catch block
- Resolved
-
JBEAP-6669 Fail in finally block overrides the fail in catch block
- Closed
- is incorporated by
-
JBEAP-6556 (7.1.0) Upgrade to WildFly Core 3.0.0.Alpha12
- Closed