< prev index next >

src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java

Print this page
rev 58428 : [mq]: XXXXXXX-typos

*** 534,551 **** * * <ul> * <li>The number of parameter slots in {@code concatType} is less than * or equal to 200</li> * ! * <li>The parameter count in {@code concatType} equals to number of \1 tags * in {@code recipe}</li> * * <li>The return type in {@code concatType} is assignable * from {@link java.lang.String}, and matches the return type of the * returned {@link MethodHandle}</li> * ! * <li>The number of elements in {@code constants} equals to number of \2 * tags in {@code recipe}</li> * </ul> * * @param lookup Represents a lookup context with the accessibility * privileges of the caller. Specifically, the lookup --- 534,551 ---- * * <ul> * <li>The number of parameter slots in {@code concatType} is less than * or equal to 200</li> * ! * <li>The parameter count in {@code concatType} is equal to number of \1 tags * in {@code recipe}</li> * * <li>The return type in {@code concatType} is assignable * from {@link java.lang.String}, and matches the return type of the * returned {@link MethodHandle}</li> * ! * <li>The number of elements in {@code constants} is equal to number of \2 * tags in {@code recipe}</li> * </ul> * * @param lookup Represents a lookup context with the accessibility * privileges of the caller. Specifically, the lookup
< prev index next >