]>
Commit | Line | Data |
---|---|---|
bf35345e JR |
1 | --- openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java~ 2015-01-02 09:59:05.000000000 +0000 |
2 | +++ openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java 2015-01-02 10:04:30.624981502 +0000 | |
3 | @@ -281,8 +281,8 @@ | |
4 | checkCurrencyCode(newCurrency); | |
5 | String timeString = currencyInfo.substring(4, length - 4); | |
6 | long time = format.parse(timeString).getTime(); | |
7 | - if (Math.abs(time - System.currentTimeMillis()) > ((long) 10) * 365 * 24 * 60 * 60 * 1000) { | |
8 | - throw new RuntimeException("time is more than 10 years from present: " + time); | |
9 | + if (Math.abs(time - System.currentTimeMillis()) > ((long) 20) * 365 * 24 * 60 * 60 * 1000) { | |
10 | + throw new RuntimeException("time is more than 20 years from present: " + time); | |
11 | } | |
12 | specialCaseCutOverTimes[specialCaseCount] = time; | |
13 | specialCaseOldCurrencies[specialCaseCount] = oldCurrency; |