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

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 <Theresa.T.Mammarella@ibm.com>
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