Skip to content

Commit 50deb17

Browse files
dbalekliach
authored andcommitted
8384631: SwitchBoostraps.typeSwitch method Javadoc still mentions target of a reference type
Reviewed-by: liach
1 parent e50c413 commit 50deb17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private static class StaticHolders {
180180
*
181181
* @throws NullPointerException if any argument is {@code null}, unless noted otherwise
182182
* @throws IllegalArgumentException if any element in the labels array is null
183-
* @throws IllegalArgumentException if the invocation type is not a method type of first parameter of a reference type,
183+
* @throws IllegalArgumentException if the invocation type is not a method type of first parameter of a target type,
184184
* second parameter of type {@code int} and with {@code int} as its return type
185185
* @throws IllegalArgumentException if {@code labels} contains an element that is not of type {@code String},
186186
* {@code Integer}, {@code Long}, {@code Float}, {@code Double}, {@code Boolean},

0 commit comments

Comments
 (0)