Closed
Description
When javax.script.ScriptEngineManager
is attempting to list available script engines, numerous ServiceConfigurationError
are internally generated resulting in printouts to standard error output that look like:
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider org.scijava.plugins.scripting.scala.ScalaScriptLanguage could not be instantiated
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider dotty.tools.repl.ScriptEngine$Factory could not be instantiated
While the code still works and test are passing this is producing confusing printouts and slows down the execution of the scripts, tests are running about twice as long as without that issue.
The issue was introduced after META-INF/services/javax.script.ScriptEngineFactory
was added #1.