RFR: 8344039: Remove security manager dependency in java.time

Naoto Sato naoto at openjdk.org
Wed Nov 13 01:29:30 UTC 2024


On Tue, 12 Nov 2024 15:41:01 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> After [JDK-8338411](https://bugs.openjdk.org/browse/JDK-8338411), Serialization implementation dependencies on doPriviledged and AccessController are removed.
> Some refactoring to cleanup the remaining code is expected.

src/java.base/share/classes/java/time/zone/ZoneRulesProvider.java line 147:

> 145:         // if the property java.time.zone.DefaultZoneRulesProvider is
> 146:         // set then its value is the class name of the default provider
> 147:         @SuppressWarnings("removal")

Should this SuppressWarnings be removed?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22042#discussion_r1839174201


More information about the core-libs-dev mailing list