Open
Description
In a static initialization block in RegexECMA262Helper.java
the available JavaScript engines are initialized. Javas Nashorn engine is pretty straight forward and can be used easily. That's the primary script engine which is always used if Java 8 - 14 is used.
However the backup engine Rhino is also initialized thus making it impossible to remove the Rhino lib from every application that uses the json-schema-core although it is unused during the whole runtime. 😞
Why not just initialize Rhino if Nashorn is not available?
Metadata
Metadata
Assignees
Labels
No labels