Hi Alex,

The global load function is configurable, so you should be able to delete or overwrite it. You can also rename it in case you still need it.

Does this solve your problem?

Hannes

Am 2014-09-13 um 16:59 schrieb Alex Soto:
Hi,

I am integrating a library which contains a method called load. The problem
is that when I call the load method

this.scriptEngine.eval("load(content, hash2);", this.scriptContext)


Nashorn uses the internal load method instead the library one and of course
Nashorn throws an exception. Is there any way to change this?


Thank you very much for your help.

Alex.


Reply via email to