With the `SwitchBootstraps.typeSwitch(...)` method, there is a specification issue (difference between what is written in the method's Javadoc and its actual behaviour) causing some JCK tests to fail.
The proposal here is: Adjust the Javadoc of the `SwitchBootstraps.typeSwitch(...)` method to reflect the different behaviour of the method when preview features are enabled/disabled. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8381898: SwitchBootstraps::typeSwitch() not accepting Float, Double types. Changes: https://git.openjdk.org/jdk/pull/30703/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30703&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8381898 Stats: 12 lines in 1 file changed: 8 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/30703.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30703/head:pull/30703 PR: https://git.openjdk.org/jdk/pull/30703
