diff options
Diffstat (limited to 'pkgs/development/compilers/openjdk/currency-date-range-jdk10.patch')
-rw-r--r-- | pkgs/development/compilers/openjdk/currency-date-range-jdk10.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pkgs/development/compilers/openjdk/currency-date-range-jdk10.patch b/pkgs/development/compilers/openjdk/currency-date-range-jdk10.patch deleted file mode 100644 index e058eff07466..000000000000 --- a/pkgs/development/compilers/openjdk/currency-date-range-jdk10.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- ./make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java -+++ ./make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java -@@ -281,8 +281,8 @@ - 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) 20) * 365 * 24 * 60 * 60 * 1000) { -+ throw new RuntimeException("time is more than 20 years from present: " + time); - } - specialCaseCutOverTimes[specialCaseCount] = time; - specialCaseOldCurrencies[specialCaseCount] = oldCurrency; |