[jdk21u-dev] Integrated: 8317264: Pattern.Bound has `static` fields that should be `static final`.
Francesco Andreuzzi
duke at openjdk.org
Fri May 9 11:49:57 UTC 2025
On Wed, 9 Apr 2025 12:02:12 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:
> Clean backport of JDK-8317264. The fields are never assigned after initialization. final leads to shorter bytecode. It's a minor performance optimization in Regex.
This pull request has now been integrated.
Changeset: 015a3863
Author: Francesco Andreuzzi <andreuzzi.francesco at gmail.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/015a3863416ae5c234cd9286b3236b8714fb3194
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/jdk21u-dev/pull/1622
More information about the jdk-updates-dev
mailing list