On Wed, 25 Jan 2023 20:13:06 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use StaticProperty.fileEncoding() & make the field @Stable > > src/java.base/share/classes/java/nio/charset/Charset.java line 633: > >> 631: >> 632: @Stable >> 633: private static volatile Charset defaultCharset; > > If the field is stable then does the volatile go away? Right. It should. ------------- PR: https://git.openjdk.org/jdk/pull/12171