Fixed problem with nashorn.