mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8269409: Post JEP 411 refactoring: core-libs with maximum covering > 10K
Reviewed-by: lancea, naoto
This commit is contained in:
parent
d0d26f5c55
commit
e9b2c058a4
21 changed files with 229 additions and 128 deletions
|
@ -57,7 +57,6 @@ import sun.security.action.GetPropertyAction;
|
|||
* <p>
|
||||
* @since 1.8
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
public final class ZoneInfoFile {
|
||||
|
||||
/**
|
||||
|
@ -249,6 +248,11 @@ public final class ZoneInfoFile {
|
|||
.privilegedGetProperty("sun.timezone.ids.oldmapping", "false")
|
||||
.toLowerCase(Locale.ROOT);
|
||||
USE_OLDMAPPING = (oldmapping.equals("yes") || oldmapping.equals("true"));
|
||||
loadTZDB();
|
||||
}
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
private static void loadTZDB() {
|
||||
AccessController.doPrivileged(new PrivilegedAction<Void>() {
|
||||
public Void run() {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue