Integrated: 8303930: Fix ConstantUtils.skipOverFieldSignature void case return value
Chen Liang
liach at openjdk.org
Fri Mar 31 17:18:25 UTC 2023
On Thu, 9 Mar 2023 23:04:57 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.
This pull request has now been integrated.
Changeset: bdbf8fc6
Author: Chen Liang <liach at openjdk.org>
Committer: Mandy Chung <mchung at openjdk.org>
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
More information about the core-libs-dev
mailing list