> 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 following changes in the behaviour of the method:
> - the method no longer requires a `target` to be of a reference type 
> (primitive type targets are allowed now)
> - primitive type `labels` are allowed now if the preview features are enabled
> 
> 
> ---------
> - [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:

  Updating Javadoc as suggested in CSR

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/30703/files
  - new: https://git.openjdk.org/jdk/pull/30703/files/3d8b1c5a..43927e24

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30703&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30703&range=01-02

  Stats: 28 lines in 1 file changed: 9 ins; 9 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

Reply via email to