Integrated: 8364660: ClassVerifier::ends_in_athrow() should be removed
Matias Saavedra Silva
matsaave at openjdk.org
Wed Oct 15 14:37:56 UTC 2025
On Thu, 4 Sep 2025 18:02:29 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> The logic located in `ClassVerifier::ends_in_athrow()` is no longer required by the JVM Spec as of Java SE 22 (see JVMS 4.10) and the error cases should be handled by the stack map table and its rules for `uninitializedThis`. Thanks to that, `ClassVerifier::ends_in_athrow()` and any relevant code can be removed. Verified with tier1-5 tests.
This pull request has now been integrated.
Changeset: 1bd814c3
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1bd814c3b24eb7ef5633ee34bb418e0981ca1708
Stats: 251 lines in 3 files changed: 0 ins; 250 del; 1 mod
8364660: ClassVerifier::ends_in_athrow() should be removed
Reviewed-by: liach, dlong
-------------
PR: https://git.openjdk.org/jdk/pull/27107
More information about the core-libs-dev
mailing list