RFR: 8361638: java.lang.classfile.CodeBuilder.catchingAll doesn't throw IllegalArgumentException if an existing catch block catches all exceptions
Chen Liang
liach at openjdk.org
Wed Jul 23 04:04:53 UTC 2025
On Thu, 17 Jul 2025 16:50:33 GMT, Chen Liang <liach at openjdk.org> wrote:
> 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.
This will update to remove the IAE clauses and behavior, which requires a CSR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26372#issuecomment-3105598351
More information about the core-libs-dev
mailing list