On Sat, 11 Mar 2023 04:59:07 GMT, Chen Liang <li...@openjdk.org> wrote:

> Also remove redundant casts to avoid javac warnings.

src/java.base/share/classes/java/lang/constant/MethodTypeDesc.java line 197:

> 195:      * @apiNote {@linkplain MethodTypeDesc} can represent method type 
> descriptors
> 196:      * that are not representable by {@linkplain MethodType}, such as 
> methods with
> 197:      * more than 255 parameter slots, so attempts to resolve these may 
> result in errors.

Should this also be added to `MethodHandleDesc::resolveConstantDesc(Lookup)`?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/12986#discussion_r1154601360

Reply via email to