8210366: Typo in MethodHandles.Lookup: must be either be
authordfuchs
Tue, 04 Sep 2018 18:32:28 +0100
changeset 51632 ed04bc1ff453
parent 51631 f9773a631272
child 51633 21154cb84d2a
8210366: Typo in MethodHandles.Lookup: must be either be Reviewed-by: rriggs
src/java.base/share/classes/java/lang/invoke/MethodHandles.java
--- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java	Tue Sep 04 18:03:44 2018 +0100
+++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java	Tue Sep 04 18:32:28 2018 +0100
@@ -450,7 +450,7 @@
      * independently of any {@code Lookup} object.
      * <p>
      * If the desired member is {@code protected}, the usual JVM rules apply,
-     * including the requirement that the lookup class must be either be in the
+     * including the requirement that the lookup class must either be in the
      * same package as the desired member, or must inherit that member.
      * (See the Java Virtual Machine Specification, sections 4.9.2, 5.4.3.5, and 6.4.)
      * In addition, if the desired member is a non-static field or method