[NEW BUG] Fix duplicated word in Lookup#in documentation
Mandy Chung
mandy.chung at oracle.com
Fri Jan 10 20:02:31 UTC 2020
Pushed.
See https://bugs.openjdk.java.net/browse/JDK-8236945
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
>
>
More information about the core-libs-dev
mailing list