On Tue, 19 Nov 2024 18:52:59 GMT, Brent Christian <[email protected]> wrote:
> Remove usages of SecurityManager, doPrivildged, and AccessController from the
> java.prefs module.
src/java.prefs/share/classes/java/util/prefs/AbstractPreferences.java line 1059:
> 1057: * preference tree.
> 1058: */
> 1059: @SuppressWarnings("removal")
Can remove this line.
src/java.prefs/share/classes/java/util/prefs/Preferences.java line 220:
> 218: private static final PreferencesFactory factory = factory();
> 219:
> 220: @SuppressWarnings("removal")
I think you can remove this line.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22252#discussion_r1848955427
PR Review Comment: https://git.openjdk.org/jdk/pull/22252#discussion_r1848957788