> 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.ch...@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