RFR: 8303930: Fix ConstantUtils.skipOverFieldSignature void case return value [v4]
Mandy Chung
mchung at openjdk.org
Fri Mar 31 04:18:14 UTC 2023
On Fri, 31 Mar 2023 02:28:31 GMT, Chen Liang <liach at openjdk.org> 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 <mandy.chung at oracle.com>
Marked as reviewed by mchung (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/12964#pullrequestreview-1366225073
More information about the core-libs-dev
mailing list