On Fri, 15 May 2026 08:11:09 GMT, Dusan Balek <[email protected]> wrote:
> While fixing the issue https://bugs.openjdk.org/browse/JDK-8376162, a change > to the `SwitchBoostraps.typeSwitch` method Javadoc was made reflecting the > fact that the switch target no longer needs to be of a reference type. All > mentions of the "reference type" in the documentation have been changed to > the “target type” with one omission: > > @throws IllegalArgumentException if the invocation type is not a method type > of first parameter of a reference type, … > > > The proposal here is to fix this omission. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). @jddarcy Does this change require also a CSR review? ------------- PR Comment: https://git.openjdk.org/jdk/pull/31174#issuecomment-4477785324
