RFR: 8299187: Ensure safe publication of name in ByteOrder
Per Minborg
pminborg at openjdk.org
Wed Dec 21 09:36:31 UTC 2022
This PR proposes to declare the field `ByteOrder.name` `final`.
This will ensure the class is thread safe and is using safe publication.
-------------
Commit messages:
- Declare field name final
Changes: https://git.openjdk.org/jdk/pull/11752/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11752&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299187
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