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).

Marked as reviewed by liach (Reviewer).

This is still a normative change, I think we need a tiny CSR for this. Also 
added the right issue link for you in the JBS.

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

PR Review: https://git.openjdk.org/jdk/pull/31174#pullrequestreview-4324540399
PR Comment: https://git.openjdk.org/jdk/pull/31174#issuecomment-4493628054

Reply via email to