RFR: 8364660: ClassVerifier::ends_in_athrow() should be removed
Matias Saavedra Silva
matsaave at openjdk.org
Thu Sep 4 18:07:53 UTC 2025
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.
-------------
Commit messages:
- Removed unused methods and declarations
- 8364660: ClassVerifier::ends_in_athrow() should be removed
Changes: https://git.openjdk.org/jdk/pull/27107/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27107&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364660
Stats: 250 lines in 3 files changed: 0 ins; 250 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27107.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27107/head:pull/27107
PR: https://git.openjdk.org/jdk/pull/27107
More information about the core-libs-dev
mailing list