diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-01-06 11:24:02 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-01-06 11:24:02 +0000 |
commit | 07f417e78ea11cdb85bdb9083bc221e99bc3fc74 (patch) | |
tree | fbf5e5fc60f0f657f853c42471c7de658b751687 /lang/openjdk7/patches | |
parent | 9263c8f7f137e1c0c2a2a39b8d4924fee6f5c261 (diff) | |
download | pkgsrc-07f417e78ea11cdb85bdb9083bc221e99bc3fc74.tar.gz |
Sorry, revert previous, already fixed on HEAD (still broken on 2014Q4).
Diffstat (limited to 'lang/openjdk7/patches')
-rw-r--r-- | lang/openjdk7/patches/patch-jdk_make_tools_src_build_tools_generatecurrencydata_GenerateCurrencyData.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/openjdk7/patches/patch-jdk_make_tools_src_build_tools_generatecurrencydata_GenerateCurrencyData.java b/lang/openjdk7/patches/patch-jdk_make_tools_src_build_tools_generatecurrencydata_GenerateCurrencyData.java deleted file mode 100644 index 4412b5e09f2..00000000000 --- a/lang/openjdk7/patches/patch-jdk_make_tools_src_build_tools_generatecurrencydata_GenerateCurrencyData.java +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-jdk_make_tools_src_build_tools_generatecurrencydata_GenerateCurrencyData.java,v 1.1 2015/01/06 11:19:19 jperkin Exp $ - -Extend valid currency data to 15 years to avoid lag in upstream updates. - ---- jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java.orig 2014-11-02 07:18:20.000000000 +0000 -+++ jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java -@@ -281,8 +281,8 @@ 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); -+ if (Math.abs(time - System.currentTimeMillis()) > ((long) 15) * 365 * 24 * 60 * 60 * 1000) { -+ throw new RuntimeException("time is more than 15 years from present: " + time); - } - specialCaseCutOverTimes[specialCaseCount] = time; - specialCaseOldCurrencies[specialCaseCount] = oldCurrency; |