RFR: 8321540: ClassSignature.parseFrom() throws StringIndexOutOfBoundsException for invalid signatures [v2]
Adam Sotona
asotona at openjdk.org
Tue Jan 2 12:35:09 UTC 2024
> ClassFile API models and parses signatures, however parsing of the signatures mostly throws IIOBE when it fails.
> This patch improves SignaturesImpl parsing methods implementation and errors handling and adds relevant negative tests.
> The parser is not an ultimate signatures validator yet, however this is a step forward to it.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
updated copyright year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17058/files
- new: https://git.openjdk.org/jdk/pull/17058/files/da060bbb..e856dffe
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17058&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17058&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/17058.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17058/head:pull/17058
PR: https://git.openjdk.org/jdk/pull/17058
More information about the core-libs-dev
mailing list