From 5f5ed54f7f1ed82583f0f42abfa2625a93e96dd9 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Wed, 31 Dec 2014 15:04:10 +0100 Subject: [PATCH] icedtea: openjdk: remove currency data generation expiration date. Signed-off-by: Alex Gonzalez --- .../src/build/tools/generatecurrencydata/GenerateCurrencyData.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java b/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java index 29201c25909a..f66f523de5bd 100644 --- a/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java +++ b/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java @@ -281,9 +281,6 @@ public class GenerateCurrencyData { 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);