On Wed, 20 Nov 2024 22:36:12 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> Remove some occurrences of `GetPropertyAction` overlooked in #22219 and > #22132. Changes in `java.io.Console` and `sun.nio.cs.GB18030` look good. src/java.base/share/classes/sun/nio/fs/Util.java line 40: > 38: > 39: private static final Charset jnuEncoding = Charset.forName( > 40: System.getProperty("sun.jnu.encoding")); `StaticProperty.jnuEncoding()` can be used ------------- PR Review: https://git.openjdk.org/jdk/pull/22285#pullrequestreview-2449920128 PR Review Comment: https://git.openjdk.org/jdk/pull/22285#discussion_r1851119973