Description
If using Nashorn compatibility mode via setting the system property 'polyglot.js.nashorn-compat', then on creation of script manager with 'Scripting.createManager()..getEngineByName("GraalVM:js")' following exception is thrown :
js.nashorn-compat is experimental and must be enabled with allowExperimentalOptions()
See the Nashorn Migration Guide for more info: [https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md
]