-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
7.1.0.DR2
-
None
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.
- clones
-
JBEAP-5548 Fail in finally block overrides the fail in catch block
- Verified