RFR - 8210366: Typo in MethodHandles.Lookup: must be either be
Hi, This is a simple doc-only fix for a typo in MethodHandles.Lookup: 8210366: Typo in MethodHandles.Lookup: must be either be https://bugs.openjdk.java.net/browse/JDK-8210366 patch: ---------------------------------------------------------------------------- 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 @@ -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 ---------------------------------------------------------------------------- best regards, -- daniel
Looks fine, Regards, Roger On 9/4/2018 12:39 PM, Daniel Fuchs wrote:
Hi,
This is a simple doc-only fix for a typo in MethodHandles.Lookup:
8210366: Typo in MethodHandles.Lookup: must be either be https://bugs.openjdk.java.net/browse/JDK-8210366
patch:
----------------------------------------------------------------------------
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 @@ -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 ----------------------------------------------------------------------------
best regards,
-- daniel
participants (2)
-
Daniel Fuchs
-
Roger Riggs