-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/07/2015 03:31 PM, Kees Theunissen wrote: > Running the openjdk.SlackBuild script fails currently (since Dec > 30, 2014) with the error: > > [...] /junk/openjdk/icedtea-build/bootstrap/jdk1.6.0/bin/java > -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput > -Xmx512m -Xms512 m -XX:PermSize=32m -XX:MaxPermSize=160m -jar > /junk/openjdk/icedtea-build/openjdk.build-boot/btjars/generatecurrencydata.jar > -o /junk/openjdk > /icedtea-build/openjdk.build-boot/lib/currency.data.temp \ < > ../../../src/share/classes/java/util/CurrencyData.properties Error: > time is more than 10 years from present: 1104530400000 > java.lang.RuntimeException: time is more than 10 years from > present: 1104530400000
> > See also this thread: > http://mail-index.netbsd.org/pkgsrc-users/2014/12/30/msg020843.html > > > > As a workaround I ran the script without problems on a virtual > machine where the clock was set 10 days back. > > The fix in the listed in the thread for the currency codes is ugly, as is your workaround. It was fixed months ago in the JDK 7 Updates Master: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/74a70385c21d A better patch for openjdk-7u60 is here: https://github.com/NixOS/nixpkgs/commit/9b81769950b6d0221643c7b0758d894f7742a62a that extends the currency date check out to 20 years. Or better, there should be a openjdk-7u80, but pulling tags out of mercurial befuddles me. - -Ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSt/CkACgkQXvwMaW61dLdIoQCeOVGxyN84AS9ygyuoI8i0b4XA wo0An00H3VuyunCwji19p7rSXPaomKSC =Jmhm -----END PGP SIGNATURE----- _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/