Compilation failure related to Time [Error: time is more than 10,years from present: 1136059200000]

Andrew Hughes gnu.andrew at redhat.com
Tue Jun 21 17:28:59 UTC 2016



----- Original Message -----
> From: Prakash Rungta <prakash.rungta at gmail.com>
> To: jdk7u-dev at openjdk.java.net
> Subject: Compilation failure related to Time [Error: time is more than 10
>  years from present: 1136059200000]
> Date: Tue, 21 Jun 2016 12:11:30 +0530
> 
> Hello Team,
> 
> 
> 
> I was building openjdk 7 on RHEL5.11 with latest source code.
> 
> 
> 
> However during the compilation i am getting the following error.
> 
> ===================================
> 
>  /usr/java/jdk1.6.0_45//bin/java -XX:-PrintVMOptions
> -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m -Xms512m
> -XX:PermSize=32m -XX:MaxPermSize=160m -jar
> /root/JAVA/openjdk/build/linux-i586/btjars/generatecurrencydata.jar -o
> /root/JAVA/openjdk/build/linux-i586/lib/currency.data.temp \
> 
>                 <
> ../../../src/share/classes/java/util/CurrencyData.properties
> 
> Error: time is more than 10 years from present: 1136059200000
> 
> *java.lang.RuntimeException: time is more than 10 years from present:
> 1136059200000*
> 
>         at
> build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
> 
>         at
> build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
> 
>         at
> build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
> 
> make[4]: *** [/root/JAVA/openjdk/build/linux-i586/lib/currency.data] Error 1
> 
> make[4]: Leaving directory `/root/JAVA/openjdk/jdk/make/java/java'
> 
> make[3]: *** [all] Error 1
> 
> make[3]: Leaving directory `/root/JAVA/openjdk/jdk/make/java'
> 
> ==============================
> 
> 
> 
> can some one look at this on priority and help me in resolving the issue.
> 
> 
> 
> Thanks
> 
> Prakash Rungta
> 
> 

Where did you obtain this "source code"? This issue has been fixed for over a year.
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222




More information about the jdk7u-dev mailing list