RFR: 8299187: Ensure safe publication of name in ByteOrder [v2]

Per Minborg pminborg at openjdk.org
Mon Jan 2 08:17:17 UTC 2023


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

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11752/files
  - new: https://git.openjdk.org/jdk/pull/11752/files/67630460..1747b2dc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11752&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11752&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11752.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11752/head:pull/11752

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


More information about the nio-dev mailing list