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

Note: This is noreg-doc so if the PR is not integrated by JDK 27 RDP 1, the CSR 
can be updated to be fixed in both 27 and 28, and backported to jdk27 branch 
when it is integrated into master.

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

PR Comment: https://git.openjdk.org/jdk/pull/31174#issuecomment-4493646609

Reply via email to