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

Per Minborg pminborg at openjdk.org
Mon Jan 2 09:07:01 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:

  Fix typo

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

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

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

  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