[jdk17u-dev] RFR: 8317264: Pattern.Bound has `static` fields that should be `static final`.
duke
duke at openjdk.org
Wed Nov 19 15:49:49 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.
@rm-gh-8
Your change (at version 963226b1199ebbb9be69601d2466de41557ac07d) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/4179#issuecomment-3553421397
More information about the jdk-updates-dev
mailing list