RFR: 8361638: java.lang.classfile.CodeBuilder.catchingAll doesn't throw IllegalArgumentException if an existing catch block catches all exceptions [v2]
Chen Liang
liach at openjdk.org
Tue Jul 29 16:45:42 UTC 2025
> The detection of catch builder arguments is not working for catch-all blocks. Update this to track CP indices including 0 so we can more easily validate the incoming ClassDesc are all non-primitive and there is no duplicate.
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Update to allow duplicate types, note instead
- Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-catch-type-validation
- Formatting
- 8361638: java.lang.classfile.CodeBuilder.catchingAll doesn't throw IllegalArgumentException if an existing catch block catches all exceptions
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26372/files
- new: https://git.openjdk.org/jdk/pull/26372/files/5bd5fb94..11d269c6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26372&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26372&range=00-01
Stats: 15779 lines in 474 files changed: 7352 ins; 6329 del; 2098 mod
Patch: https://git.openjdk.org/jdk/pull/26372.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26372/head:pull/26372
PR: https://git.openjdk.org/jdk/pull/26372
More information about the core-libs-dev
mailing list