On Fri, 31 Mar 2023 02:28:31 GMT, Chen Liang <[email protected]> wrote:
>> This typo doesn't allow creation of malformed ClassDesc or MethodTypeDesc,
>> but it produces an erroneous exception on certain inputs. Running
>> `java.lang.constant.MethodTypeDesc.ofDescriptor("(IIIII[[[V)I")` in Jshell
>> 19.0.2 throws StringIndexOutOfBoundsException, and throws
>> IllegalArgumentException in the Jshell for this patch.
>
> Chen Liang has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Update
> test/jdk/java/lang/constant/boottest/java.base/java/lang/constant/ConstantUtilsTest.java
>
> Co-authored-by: Mandy Chung <[email protected]>
Marked as reviewed by mchung (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/12964#pullrequestreview-1366225073