Skip to content

Commit 2a4f37c

Browse files
zUniQueXliach
authored andcommitted
8356119: Typo in bytecode behavior for Lookup.findGetter
Reviewed-by: liach
1 parent ca7e4c4 commit 2a4f37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/lang/invoke/MethodHandles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public static <T extends Member> T reflectAs(Class<T> expected, MethodHandle tar
501501
* <tbody>
502502
* <tr>
503503
* <th scope="row">{@link java.lang.invoke.MethodHandles.Lookup#findGetter lookup.findGetter(C.class,"f",FT.class)}</th>
504-
* <td>{@code FT f;}</td><td>{@code (T) this.f;}</td>
504+
* <td>{@code FT f;}</td><td>{@code (FT) this.f;}</td>
505505
* </tr>
506506
* <tr>
507507
* <th scope="row">{@link java.lang.invoke.MethodHandles.Lookup#findStaticGetter lookup.findStaticGetter(C.class,"f",FT.class)}</th>

0 commit comments

Comments
 (0)