Hi Christoph, I'll sponsor this typo fix.
Mandy On 1/7/20 9:32 AM, Christoph Dreis wrote:
Hi, I just noticed that a duplicated "the" slipped into the docs of Lookup.in(). The change seems to have been introduced in https://bugs.openjdk.java.net/browse/JDK-8226916. In case this is considered worthwhile I would need someone to sponsor the trivial change below: diff --git a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java --- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java +++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java @@ -1451,7 +1451,7 @@ * <li>If the new lookup class is in the same module as the old lookup class, * the new previous lookup class is the old previous lookup class. * <li>If the new lookup class is in a different module from the old lookup class, - * the new previous lookup class is the the old lookup class. + * the new previous lookup class is the old lookup class. *</ul> * <p> * The resulting lookup's capabilities for loading classes Cheers, Christoph