Skip to content

URLClassLoader.findClass with different behavior when called within jjs Nashorn #2823

Closed
@brunoborges

Description

@brunoborges

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions