[NEW BUG] Fix duplicated word in Lookup#in documentation
Christoph Dreis
christoph.dreis at freenet.de
Tue Jan 7 17:32:38 UTC 2020
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