equal
deleted
inserted
replaced
142 return null; |
142 return null; |
143 } |
143 } |
144 |
144 |
145 // Append an era to the predefined eras if it's given by the property. |
145 // Append an era to the predefined eras if it's given by the property. |
146 String prop = GetPropertyAction |
146 String prop = GetPropertyAction |
147 .getProperty("jdk.calendar.japanese.supplemental.era"); |
147 .privilegedGetProperty("jdk.calendar.japanese.supplemental.era"); |
148 if (prop != null) { |
148 if (prop != null) { |
149 Era era = parseEraEntry(prop); |
149 Era era = parseEraEntry(prop); |
150 if (era != null) { |
150 if (era != null) { |
151 if (isValidEra(era, JAPANESE_ERAS)) { |
151 if (isValidEra(era, JAPANESE_ERAS)) { |
152 int length = JAPANESE_ERAS.length; |
152 int length = JAPANESE_ERAS.length; |