RFR: 8361638: java.lang.classfile.CodeBuilder.CatchBuilder should not throw IllegalArgumentException for representable exception handlers [v3]
Chen Liang
liach at openjdk.org
Tue Jul 29 17:06:44 UTC 2025
> CatchBuilder has a simple check for duplicate catch types. However, this check is never comprehensive as it still allows subtypes covered by supertypes, and covering that would be too costly; in addition, the "illegal" duplicate catch types are still valid `class` files. We should remove this duplicate catch type check, and compensate with documentation on the effects of duplicate types.
Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
Wrong ref
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26372/files
- new: https://git.openjdk.org/jdk/pull/26372/files/11d269c6..00aca654
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26372&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26372&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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