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.

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

Commit messages:
 - Avoid bootstrapped switches in the classfile API to reduce risk of bootstrap 
circularity

Changes: https://git.openjdk.org/jdk/pull/20714/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20714&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338979
  Stats: 29 lines in 2 files changed: 12 ins; 0 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/20714.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20714/head:pull/20714

PR: https://git.openjdk.org/jdk/pull/20714

Reply via email to