Hi Andrew, Thanks for looking into this.
I downloaded the source code from the following site http://download.java.net/openjdk/jdk7/ The following was the file name openjdk-7-fcs-src-b147-27_jun_2011.zip <http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip> Also i tried to download by setting up the clone from mercurial software at the following link hg clone http://hg.openjdk.java.net/jdk7/jdk7 *YourOpenJDK* cd *YourOpenJDK* sh ./get_source.sh Even in this repository i faced the similar issue. Let me know if you need any more information. Thanks Prakash Rungta On Tue, Jun 21, 2016 at 10:58 PM, Andrew Hughes <gnu.and...@redhat.com> wrote: > > > ----- Original Message ----- > > From: Prakash Rungta <prakash.run...@gmail.com> > > To: jdk7u-dev@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 > > >