Integrated: 8299187: (bf) ByteOrder.name should be declared final

Per Minborg pminborg at openjdk.org
Mon Jan 2 13:26:05 UTC 2023


On Wed, 21 Dec 2022 09:29:59 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to declare the field  `ByteOrder.name` `final`. 
> 
> This will ensure the class is thread safe and is using safe publication.

This pull request has now been integrated.

Changeset: e09e2431
Author:    Per Minborg <pminborg at openjdk.org>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e09e243116545a7c1324bfcc145c94fbc25c7d59
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8299187: (bf) ByteOrder.name should be declared final

Reviewed-by: jpai

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

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


More information about the nio-dev mailing list