[packages/openjdk10] update currency data

atler atler at pld-linux.org
Fri May 1 02:05:39 CEST 2026


commit 9747d04ae246f751f2b6eafbc744bbde44b707c5
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 29 15:03:20 2026 +0200

    update currency data
    
    fixes:
    
    Error: time is more than 10 years from present: 1420063200000
    java.lang.RuntimeException: time is more than 10 years from present: 1420063200000
            at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:288)
            at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:227)
            at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:158)

 currency-data.patch | 20 ++++++++++++++++++++
 openjdk10.spec      |  2 ++
 2 files changed, 22 insertions(+)
---
diff --git a/openjdk10.spec b/openjdk10.spec
index 3e84ed9..e70ad00 100644
--- a/openjdk10.spec
+++ b/openjdk10.spec
@@ -41,6 +41,7 @@ Patch4:		build.patch
 Patch5:		glibc-2.34.patch
 Patch6:		gcc11.patch
 Patch7:		glibc-2.42.patch
+Patch8:		currency-data.patch
 URL:		http://openjdk.java.net/
 BuildRequires:	alsa-lib-devel
 BuildRequires:	ant
@@ -378,6 +379,7 @@ Przykłady dla OpenJDK.
 %patch -P5 -p1
 %patch -P6 -p1
 %patch -P7 -p1
+%patch -P8 -p1
 
 %build
 # Make sure we have /proc mounted - otherwise idlc will fail later.
diff --git a/currency-data.patch b/currency-data.patch
new file mode 100644
index 0000000..633f50d
--- /dev/null
+++ b/currency-data.patch
@@ -0,0 +1,20 @@
+--- jdk9u-jdk-9.0.4+12/jdk/make/data/currency/CurrencyData.properties.orig	2018-01-13 03:07:38.000000000 +0100
++++ jdk9u-jdk-9.0.4+12/jdk/make/data/currency/CurrencyData.properties	2026-04-29 15:00:39.395230321 +0200
+@@ -324,7 +324,7 @@
+ # LAO PEOPLE'S DEMOCRATIC REPUBLIC (THE)
+ LA=LAK
+ # LATVIA
+-LV=LVL;2013-12-31-22-00-00;EUR
++LV=EUR
+ # LEBANON
+ LB=LBP
+ # LESOTHO
+@@ -336,7 +336,7 @@
+ # LIECHTENSTEIN
+ LI=CHF
+ # LITHUANIA
+-LT=LTL;2014-12-31-22-00-00;EUR
++LT=EUR
+ # LUXEMBOURG
+ LU=EUR
+ # MACAU
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk10.git/commitdiff/ec635021b2c9929b34557d7258f45e3f5d2f84b0



More information about the pld-cvs-commit mailing list