On Thu, 9 Mar 2023 23:04:57 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.
This pull request has now been integrated.
Changeset: bdbf8fc6
Author: Chen Liang <[email protected]>
Committer: Mandy Chung <[email protected]>
URL:
https://git.openjdk.org/jdk/commit/bdbf8fc61d9876ad4aad8f9606384c67005cae78
Stats: 9 lines in 2 files changed: 6 ins; 0 del; 3 mod
8303930: Fix ConstantUtils.skipOverFieldSignature void case return value
Reviewed-by: mchung
-------------
PR: https://git.openjdk.org/jdk/pull/12964