jdk/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java
changeset 37781 71ed5645f17c
parent 37594 5aa7438a8ce1
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
   244         { "VST", "Asia/Ho_Chi_Minh" },
   244         { "VST", "Asia/Ho_Chi_Minh" },
   245     };
   245     };
   246 
   246 
   247     static {
   247     static {
   248         String oldmapping = GetPropertyAction
   248         String oldmapping = GetPropertyAction
   249                 .getProperty("sun.timezone.ids.oldmapping", "false")
   249                 .privilegedGetProperty("sun.timezone.ids.oldmapping", "false")
   250                 .toLowerCase(Locale.ROOT);
   250                 .toLowerCase(Locale.ROOT);
   251         USE_OLDMAPPING = (oldmapping.equals("yes") || oldmapping.equals("true"));
   251         USE_OLDMAPPING = (oldmapping.equals("yes") || oldmapping.equals("true"));
   252         AccessController.doPrivileged(new PrivilegedAction<Void>() {
   252         AccessController.doPrivileged(new PrivilegedAction<Void>() {
   253             public Void run() {
   253             public Void run() {
   254                 try {
   254                 try {