RFR: 8364660: ClassVerifier::ends_in_athrow() should be removed [v2]

Matias Saavedra Silva matsaave at openjdk.org
Thu Sep 4 18:24:57 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.

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Fixed copyright

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27107/files
  - new: https://git.openjdk.org/jdk/pull/27107/files/57003c7f..7b54a9f6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27107&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27107&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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