JSObjectLinker questions

Peter Zhelezniakov peter.zhelezniakov at oracle.com
Tue Apr 16 06:08:32 PDT 2013


Hi all,

Is there a way to disable JSObjectLinker in Nashorn? I'd like 
NashornLinker to link instances of JSObject.

Looking at Bootstrap.java, linkers seem hardcoded:

factory.setPrioritizedLinkers(new NashornLinker(), new 
NashornPrimitiveLinker(), new NashornStaticClassLinker(),
                 new JSObjectLinker(), new ReflectionCheckLinker());

 From this line I'd expect NashornLinker to take priority over 
JSObjectLinker. That doesn't happen however. Is there any chance I can 
tweak those priorities?

Thanks!
-- 
Peter


More information about the nashorn-dev mailing list