> 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).
Dusan Balek has updated the pull request incrementally with one additional commit since the last revision: 8376162: SwitchBoostraps.typeSwitch does not throw IAE as expected ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30703/files - new: https://git.openjdk.org/jdk/pull/30703/files/090239b3..3d8b1c5a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30703&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30703&range=00-01 Stats: 16 lines in 1 file changed: 3 ins; 3 del; 10 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
