On 16/05/2019 05:02, Christian Stein wrote:
:

I guess(!), it boils down to swallowed illegal access exception
that happens when a simple Java object is put into a Binding.
Running on the class-path, an instance of SimpleDynamicMethod
from package "jdk.dynalink.beans" is wrap around a method
of the bound object. When running on the module-path, the
type within the Nashorn is reported as: "undefined".

Can you run with -Dsun.reflect.debugModuleAccessChecks and see if anything is printed? This can be useful to locate exception swallowing. Given that Nashorn is using method handles it might not help but would be useful to try.

-Alan

Reply via email to