RFR: 8338979: Avoid bootstrapped switches in the classfile API

Chen Liang liach at openjdk.org
Mon Aug 26 13:45:37 UTC 2024


On Mon, 26 Aug 2024 13:39:44 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Noticed these on a few startup tests in code generating proxies. Desugaring switch expressions reduce risk of bootstrap circularity from any future changes to switch bootstrapping (which itself depends on the classfile API). It's also a tiny improvement to startup performance.

src/java.base/share/classes/jdk/internal/classfile/impl/ClassFileImpl.java line 1:

> 1: /*

You can update copyright year in this file.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20714#discussion_r1731268857


More information about the core-libs-dev mailing list