mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 10:42:45 +00:00
8384631: SwitchBoostraps.typeSwitch method Javadoc still mentions target of a reference type
Reviewed-by: liach
This commit is contained in:
parent
e50c413bb7
commit
50deb1712c
@ -180,7 +180,7 @@ public final class SwitchBootstraps {
|
||||
*
|
||||
* @throws NullPointerException if any argument is {@code null}, unless noted otherwise
|
||||
* @throws IllegalArgumentException if any element in the labels array is null
|
||||
* @throws IllegalArgumentException if the invocation type is not a method type of first parameter of a reference type,
|
||||
* @throws IllegalArgumentException if the invocation type is not a method type of first parameter of a target type,
|
||||
* second parameter of type {@code int} and with {@code int} as its return type
|
||||
* @throws IllegalArgumentException if {@code labels} contains an element that is not of type {@code String},
|
||||
* {@code Integer}, {@code Long}, {@code Float}, {@code Double}, {@code Boolean},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user