File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed
Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ --- make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java.orig 2025-06-02 15:19:22.778297762 +0000
2+ +++ make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java 2025-06-02 15:19:34.717245341 +0000
3+ @@ -284,9 +284,6 @@
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+ - }
10+ specialCaseCutOverTimes[specialCaseCount] = time;
11+ specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
12+ specialCaseOldCurrenciesDefaultFractionDigits[specialCaseCount] = getDefaultFractionDigits(oldCurrency);
Original file line number Diff line number Diff line change 11Solaris11-EM_486.patch -p0
22Solaris11-TRAPNO.patch -p0
33Solaris11-caddr32.patch -p0
4+ Solaris11-10years.patch -p0
Original file line number Diff line number Diff line change 1+ --- jdk/make/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java.orig 2025-06-02 15:08:19.382852914 +0000
2+ +++ jdk/make/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java 2025-06-02 15:08:33.983873597 +0000
3+ @@ -284,9 +284,6 @@
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+ - }
10+ specialCaseCutOverTimes[specialCaseCount] = time;
11+ specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
12+ specialCaseOldCurrenciesDefaultFractionDigits[specialCaseCount] = getDefaultFractionDigits(oldCurrency);
Original file line number Diff line number Diff line change 11Solaris11-EM_486.patch -p0
22Solaris11-TRAPNO.patch -p0
33Solaris11-caddr32.patch -p0
4+ Solaris11-10years.patch -p0
You can’t perform that action at this time.
0 commit comments