RFR: 8344337: SecurityManager cleanup in java.prefs module [v5]

Andrey Turbanov aturbanov at openjdk.org
Thu Nov 21 07:00:20 UTC 2024


On Wed, 20 Nov 2024 22:43:44 GMT, Brent Christian <bchristi at openjdk.org> wrote:

>> Remove usages of SecurityManager, doPrivildged, and AccessController from the java.prefs module.
>
> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
> 
>   indentation fixes

src/java.prefs/unix/classes/java/util/prefs/FileSystemPreferences.java line 208:

> 206:         systemRootModFile =
> 207:                        new File (systemRootDir,".systemRootModFile");
> 208:         if (!systemRootModFile.exists() && isSystemRootWritable)

let's add braces here too

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22252#discussion_r1851461711


More information about the core-libs-dev mailing list