JDK-8148068 long is no longer a number

Florian Bruckner (3kraft) florian.bruckner at 3kraft.com
Tue Apr 26 09:53:23 UTC 2016


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


More information about the nashorn-dev mailing list