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

Andrew Haley aph at redhat.com
Tue Jun 21 08:51:02 UTC 2016


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



More information about the jdk7u-dev mailing list