Details
-
Bug
-
Resolution: Fixed
-
P5
-
14
-
b32
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8237029 | 15 | Mandy Chung | P5 | Resolved | Fixed | b06 |
JDK-8237442 | 14.0.1 | Unassigned | P5 | Resolved | Fixed | b01 |
Description
See https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-January/064229.html
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
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
Attachments
Issue Links
- backported by
-
JDK-8237029 typo "the the" in Lookup::in javadoc
-
- Resolved
-
-
JDK-8237442 typo "the the" in Lookup::in javadoc
-
- Resolved
-
- relates to
-
JDK-8226916 Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
-
- Closed
-