RFR: 8344337: SecurityManager cleanup in java.prefs moduleRemove SecMgr, etc usage from java.prefs

Brent Christian bchristi at openjdk.org
Tue Nov 19 22:54:31 UTC 2024


On Tue, 19 Nov 2024 18:52:59 GMT, Brent Christian <bchristi at openjdk.org> wrote:

> Remove usages of SecurityManager, doPrivildged, and AccessController from the java.prefs module.

src/java.prefs/share/classes/java/util/prefs/Preferences.java line 40:

> 38: import java.util.ServiceConfigurationError;
> 39: 
> 40: // These imports needed only as a workaround for a JavaDoc bug

This comment was added quite a while ago. But FWIW, a specdiff comparison shows no JavaDoc differences.

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

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


More information about the core-libs-dev mailing list