[jdk25u] Integrated: 8366028: MethodType::fromMethodDescriptorString should not throw UnsupportedOperationException for invalid descriptors

Chen Liang liach at openjdk.org
Mon Sep 1 06:34:53 UTC 2025


On Wed, 27 Aug 2025 15:40:36 GMT, Chen Liang <liach at openjdk.org> wrote:

> Please review this patch that fixes a bug with `MethodType::fromMethodDescriptorString` introduced in 22. Since this bug has not affected any LTS yet, I think it would be reasonable to fix this in 25 LTS releases before this behavior becomes an accidental dependency in LTS users.
> 
> Original PR: https://github.com/openjdk/jdk/pull/26909

This pull request has now been integrated.

Changeset: 06c38580
Author:    Chen Liang <liach at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk25u/commit/06c3858070d1267cae63cdae22e0b492e21298ff
Stats:     32 lines in 2 files changed: 28 ins; 0 del; 4 mod

8366028: MethodType::fromMethodDescriptorString should not throw UnsupportedOperationException for invalid descriptors

Backport-of: 1d53ac30f1db88df9a97b63b3ff56d26975d3a57

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

PR: https://git.openjdk.org/jdk25u/pull/139


More information about the jdk-updates-dev mailing list