[jdk17u-dev] Integrated: 8317264: Pattern.Bound has `static` fields that should be `static final`.
Roland Mesde
duke at openjdk.org
Wed Nov 19 18:31:48 UTC 2025
On Thu, 13 Nov 2025 16:51:00 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8317264: Pattern.Bound has static fields that should be static final. It was an oversight that final was omitted. The fields are never assigned after initialization. final leads to shorter bytecode.
>
> Ran GHA Sanity Checks (passed) and related test (passed). Patch is clean.
This pull request has now been integrated.
Changeset: fd861294
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/fd861294a0a6634800f92495b2eec1b4b26bd75d
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8317264: Pattern.Bound has `static` fields that should be `static final`.
Backport-of: ecb5e8a03f67c92d7956201de1fa7d07cc6af9cb
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/4179
More information about the jdk-updates-dev
mailing list