You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
873 B
13 lines
873 B
8 months ago
|
--- jdk9u-jdk-9-181.orig/jdk/make/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java
|
||
|
+++ jdk9u-jdk-9-181/jdk/make/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java
|
||
|
@@ -284,9 +284,6 @@
|
||
|
checkCurrencyCode(newCurrency);
|
||
|
String timeString = currencyInfo.substring(4, length - 4);
|
||
|
long time = format.parse(timeString).getTime();
|
||
|
- if (Math.abs(time - System.currentTimeMillis()) > ((long) 10) * 365 * 24 * 60 * 60 * 1000) {
|
||
|
- throw new RuntimeException("time is more than 10 years from present: " + time);
|
||
|
- }
|
||
|
specialCaseCutOverTimes[specialCaseCount] = time;
|
||
|
specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
|
||
|
specialCaseOldCurrenciesDefaultFractionDigits[specialCaseCount] = getDefaultFractionDigits(oldCurrency);
|