On Thu, 28 Sep 2023 17:20:47 GMT, Eamonn McManus <emcma...@openjdk.org> wrote:

> It looks to have been an oversight that `final` was omitted. The fields are 
> never assigned after initialization. `final` leads to shorter bytecode.

This pull request has now been integrated.

Changeset: ecb5e8a0
Author:    Eamonn McManus <emcma...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/ecb5e8a03f67c92d7956201de1fa7d07cc6af9cb
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8317264: Pattern.Bound has `static` fields that should be `static final`.

Reviewed-by: psandoz

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

PR: https://git.openjdk.org/jdk/pull/15967

Reply via email to