On Mon, 11 Dec 2023 15:17:49 GMT, Adam Sotona <asot...@openjdk.org> wrote:
> 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 This pull request has now been integrated. Changeset: f9aec02f Author: Adam Sotona <asot...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f9aec02f3caabb6bc06672c214127f8912449615 Stats: 136 lines in 2 files changed: 103 ins; 5 del; 28 mod 8321540: ClassSignature.parseFrom() throws StringIndexOutOfBoundsException for invalid signatures Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jdk/pull/17058