This PR proposes changing old-type switch statements to newer forms of switch.
------------- Commit messages: - Update copyright years - Modernize the switch statements in jdk.internal.foreign Changes: https://git.openjdk.org/jdk/pull/13047/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13047&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8304283 Stats: 214 lines in 8 files changed: 23 ins; 96 del; 95 mod Patch: https://git.openjdk.org/jdk/pull/13047.diff Fetch: git fetch https://git.openjdk.org/jdk pull/13047/head:pull/13047 PR: https://git.openjdk.org/jdk/pull/13047