RFR: 8303930: Fix ConstantUtils.skipOverFieldSignature void case return value [v4]
Chen Liang
liach at openjdk.org
Fri Mar 31 02:28:31 UTC 2023
> 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>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12964/files
- new: https://git.openjdk.org/jdk/pull/12964/files/f53269ca..a3f892a6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12964&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12964&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12964.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/12964/head:pull/12964
PR: https://git.openjdk.org/jdk/pull/12964
More information about the core-libs-dev
mailing list