RFR: 8344659: Some uses of GetPropertyAction were not removed from java.io and java.nio [v2]

Brian Burkhalter bpb at openjdk.org
Thu Nov 21 01:45:56 UTC 2024


On Wed, 20 Nov 2024 23:34:22 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8344659: System.getProperty("sun.jnu.encoding") -> StaticProperty.jnuEncoding()
>
> 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

Fixed in commit 791663e.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22285#discussion_r1851201235


More information about the core-libs-dev mailing list