From b9b322467f2274afa5e2c235b82b306f54937899 Mon Sep 17 00:00:00 2001 From: Alexander Zuev Date: Tue, 3 Jun 2014 18:31:13 +0400 Subject: [PATCH] 8044206: LambdaMetafactory.altMetafactory javadoc refers to wrong method Reviewed-by: briangoetz, jjg --- jdk/src/share/classes/java/lang/invoke/LambdaMetafactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdk/src/share/classes/java/lang/invoke/LambdaMetafactory.java b/jdk/src/share/classes/java/lang/invoke/LambdaMetafactory.java index 5bea02055ef..b6ef976c515 100644 --- a/jdk/src/share/classes/java/lang/invoke/LambdaMetafactory.java +++ b/jdk/src/share/classes/java/lang/invoke/LambdaMetafactory.java @@ -313,7 +313,8 @@ public class LambdaMetafactory { * reference expression features of the Java Programming Language. * *

This is the general, more flexible metafactory; a streamlined version - * is provided by {@link #altMetafactory(MethodHandles.Lookup, String, MethodType, Object...)}. + * is provided by {@link #metafactory(java.lang.invoke.MethodHandles.Lookup, + * String, MethodType, MethodType, MethodHandle, MethodType)}. * A general description of the behavior of this method is provided * {@link LambdaMetafactory above}. *