Skip to content

Conversation

@theresa-m
Copy link
Contributor

#13444 changes the order of verification for exceptions and bytecodes. This resulted in the error message "thrown object not throwable" for exception verification to be set for bytecode verification failures. This change does not override error codes for bytecode verification which was being done previously.

This was pointed out in #22812.

With this change
java.lang.VerifyError: JVMVRFY021 thrown object not throwable; class=com/acme/FailVerify, method=explode(Ljava/lang/String;)V, pc=4

becomes:

Exception in thread "main" java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=com/acme/FailVerify, method=explode(Ljava/lang/String;)V, pc=4

@theresa-m theresa-m marked this pull request as ready for review November 3, 2025 18:16
eclipse-openj9#13444 changes the
order of verification for exceptions and bytecodes. This resulted
in the error message "thrown object not throwable" for
exception verification to be set for bytecode verification failures.
This change does not override error codes for bytecode verification
which was being done previously.

Signed-off-by: Theresa Mammarella <[email protected]>
@theresa-m theresa-m force-pushed the fix_verifier_message branch from b78a154 to ce88e4a Compare November 14, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant