Hello,

I've found a small documentation inconvenience in the MethodHandles.Lookup 
class documentation. In the Lookup Factory Methods table the field types of the 
member and bytecode definitions for lookup.findGetter diverge: 
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/invoke/MethodHandles.java#L503-L504.

I'd propose to change the bytecode entry to (FT) this.f;. I'm a new contributor 
and don't have access to the JBS yet. I'd be grateful, if anyone would like to 
sponsor me here.

Cheers,
Steffen

Reply via email to