-
Bug
-
Resolution: Fixed
-
P4
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8252168 | 11.0.10-oracle | Jagjot Singh | P4 | Resolved | Fixed | b01 |
JDK-8252439 | 11.0.9 | Alex Menkov | P4 | Resolved | Fixed | b06 |
test/jdk/com/sun/jdi/CatchPatternTest.sh tests runs jdb and debugee and executes:
ignore uncaught java.lang.Throwable
catch all java.lang.Il*
catch all java.lang.Ind*
cont
cont
cont
ignore all java.lang.I*
cont
It supposes that "ignore all java.lang.I*" reverts "catch all java.lang.Il*"/"catch all java.lang.Ind*"
But actually jdb replies:
Not found: all java.lang.I*
Usage: ignore [uncaught|caught|all] <class id>|<class pattern>
main[1] >
so later exceptions are not ignored and jdb stops at the next exception:
Exception occurred: java.lang.IllegalArgumentException (to be caught at: CatchPatternTestTarg.loop(), line=21 bci=15)"thread=main", CatchPatternTestTarg.bark(), line=6 bci=53
6 throw new IllegalArgumentException("IllegalArgumentException");
main[1]
At the end the test exits jdb by "quit" command and this masks that actually test in not finished completely.
ignore uncaught java.lang.Throwable
catch all java.lang.Il*
catch all java.lang.Ind*
cont
cont
cont
ignore all java.lang.I*
cont
It supposes that "ignore all java.lang.I*" reverts "catch all java.lang.Il*"/"catch all java.lang.Ind*"
But actually jdb replies:
Not found: all java.lang.I*
Usage: ignore [uncaught|caught|all] <class id>|<class pattern>
main[1] >
so later exceptions are not ignored and jdb stops at the next exception:
Exception occurred: java.lang.IllegalArgumentException (to be caught at: CatchPatternTestTarg.loop(), line=21 bci=15)"thread=main", CatchPatternTestTarg.bark(), line=6 bci=53
6 throw new IllegalArgumentException("IllegalArgumentException");
main[1]
At the end the test exits jdb by "quit" command and this masks that actually test in not finished completely.
- backported by
-
JDK-8252168 [TEST] test/jdk/com/sun/jdi/CatchPatternTest.sh is incorrect
- Resolved
-
JDK-8252439 [TEST] test/jdk/com/sun/jdi/CatchPatternTest.sh is incorrect
- Resolved
- relates to
-
JDK-8164012 com/sun/jdi/CatchPatternTest.sh fails on jdk9/hs with Required output "Exception occurred: java.lang.IllegalMonitorStateException" not found
- Resolved