From bf947da896a70f6610097dd2acfd0f1ad7274b1b Mon Sep 17 00:00:00 2001 From: kizune Date: Wed, 4 Jun 2014 19:00:28 +0400 Subject: [PATCH] 8044206: LambdaMetafactory.altMetafactory javadoc refers to wrong method Reviewed-by: briangoetz, jjg --- src/share/classes/java/lang/invoke/LambdaMetafactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/share/classes/java/lang/invoke/LambdaMetafactory.java b/src/share/classes/java/lang/invoke/LambdaMetafactory.java index 5bea02055..b6ef976c5 100644 --- a/src/share/classes/java/lang/invoke/LambdaMetafactory.java +++ b/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}. * -- GitLab