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

Brent Christian bchristi at openjdk.org
Thu Nov 21 20:49:16 UTC 2024


On Thu, 21 Nov 2024 15:05:44 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> 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 451:
> 
>> 449:         // Add shutdown hook to flush cached prefs on normal termination
>> 450:         Runtime.getRuntime().addShutdownHook(
>> 451:             new Thread(null, null, "Sync Timer Thread", 0, false) {
> 
> Future work, use a Virtual thread for this.

https://bugs.openjdk.org/browse/JDK-8344793

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

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


More information about the core-libs-dev mailing list