Integrated: 8340132: Remove internal CpException for reading malformed utf8

Chen Liang liach at openjdk.org
Tue Sep 17 21:11:11 UTC 2024


On Tue, 17 Sep 2024 03:24:08 GMT, Chen Liang <liach at openjdk.org> wrote:

> Remove an internal exception for invalid utf8 entry format; it should have been an IllegalArgumentException but was an arbitrary subtype of RuntimeException. Converted to throw ConstantPoolException, and consolidated into a single method to reduce code size.

This pull request has now been integrated.

Changeset: dfc90938
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dfc90938ba36685ef58af0846ee4bdb214fa210f
Stats:     17 lines in 1 file changed: 4 ins; 8 del; 5 mod

8340132: Remove internal CpException for reading malformed utf8

Reviewed-by: asotona

-------------

PR: https://git.openjdk.org/jdk/pull/21027


More information about the core-libs-dev mailing list