Guys, <rant>
you need to stop introducing changes like these into jdk8u. It has been the third or fourth time a change in Nashorn in jdk8u has broken our application.
What broke this time was that we are passing a java epoch as long to nashorn and use this to construct a date from it (with moment.js) and do some calculations around this date. Because long is no longer a number, moment.js does no longer construct a (correct) date.
</rant> Thanks for listening and sorry about the ranting. regards Florian