...
- Oracle Nashorn: A Next-Generation JavaScript Engine for the JVM.
We recommend JobScheduler users running JavaScript scripts use this article to update their scripts.
One of the most important changes is likely to be that Nashorn does not support theimportClass
statement.
Job Script Changes
To make the changeover as smooth as possible, we also recommend that users specify that the default JavaScript engine for the Java Version is used:
i.e. "javax.script:ECMAscript
" instead of javax.script:rhino
.
This wil ensure that the changeover von the JavaScript engine will occur at the same time as the changeover to Java 8.
Please note that we have not yet decided when JobScheduler will become Java 8 capable but this is likely to occur towards the end of 2014. Oracle have announced that they will stop updating Java 7 after April 2015.