[jdk21u-dev] RFR: 8317264: Pattern.Bound has `static` fields that should be `static final`.
duke
duke at openjdk.org
Fri May 9 10:59:56 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.
@fandreuz
Your change (at version 1c9644826a9a16bd98be6fde40ab432854bdcd22) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1622#issuecomment-2866115343
More information about the jdk-updates-dev
mailing list