Closed
Description
When running a script with jjs that invokes a class from a classpath configured with 'jjs -cp', that will make use of URLClassLoader.findClass, the behavior is different from when the Java library is invoked the usual way.
See log trace: https://gist.github.com/brunoborges/110af2969f2c2be7e288
To invoke code, see: https://github.com/brunoborges/nashorn/tree/master/maven/samples/springboot