On Thu, 21 Nov 2024 05:12:20 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> The JVMTI code for redefinition returns JVMTI_ERROR_FAILS_VERIFICATION and 
>> not the pending exception to the caller.  The agent eventually in 
>> java.instrument/share/native/libinstrument/JavaExceptions.c will recreate 
>> the VerifyError based on the JVMTI error code.
>
> Wow that is pretty developer unfriendly. Hopefully exception logging will 
> still show what the error is in detail.

Yes, logging does show the detailed verify error. The test has -Xlog:exceptions 
also that shows where it came from.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22116#discussion_r1851930130

Reply via email to