Skip to content

Commit eee458d

Browse files
committedSep 9, 2021
Update comment with new findings.
1 parent d319984 commit eee458d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
 

‎test/hotspot/jtreg/ProblemList-vthread.txt

+7-6
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,12 @@ vmTestbase/nsk/jdb/pop_exception/pop_exception001/pop_exception001.java
467467
vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses002/TestDescription.java
468468

469469
####
470-
## There is a java.lang.reflect.InvocationTargetException being thrown during
471-
## the wrapper invocation of the test, which is not suppose to happen. However,
472-
## the debuggee does seem to launch and throw the expected exception, but it also
473-
## appears that by the time the test is notified of the exception, the debuggee
474-
## is now in the MainWrapper.main() code, so the "locals" command fails due to lack of -g info.
470+
## The test expects an NPE to be uncaught. For vthreads the code in
471+
## jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance() generates a method
472+
## that has an exception handler. So when the test purposefully throws an NPE,
473+
## jdb detects that it will be caught, so does not generate the
474+
## "Exception occurred: java.lang.NullPointerException (uncaught)" message that the test
475+
## expects. This might be fixed by JEP 416 when pushed.
475476

476477
vmTestbase/nsk/jdb/uncaught_exception/uncaught_exception002/uncaught_exception002.java
477478
vmTestbase/nsk/jdb/where/where005/where005.java
@@ -519,7 +520,7 @@ vmTestbase/nsk/jvmti/Breakpoint/breakpoint001/TestDescription.java
519520
####
520521
## The test expects an exception to be uncaught, but it seems to be caught by
521522
## the lambda expression in MainWrapper.main(), and by LambdaForm code generated
522-
## during the Method.invoke() call.
523+
## during the Method.invoke() call. This might be fixed by JEP 416 when pushed.
523524

524525
vmTestbase/nsk/jdi/ExceptionEvent/catchLocation/location002/TestDescription.java
525526

0 commit comments

Comments
 (0)
Please sign in to comment.