Workaround for jdk.nashorn.internal.objects.Global

Viktor Gamov gamussa at
Sun Mar 29 03:58:44 UTC 2015

Hello Nashorn-team,

In my sample project I'm integrating different Hazelcast API with Nashorn.
It's on GH
One thing that I'm trying to do is EntryProcessor (
EntryProcessor is executing on Hazelcast cluster member node. For that
purpose, Hazelcast client serializes it and sends it member node.

​I'm getting exception

Caused by:
(hazelcastClient.js, line 40, commented)

​Thanks to Sundar​ (, I learn that
Global object is not serializable to security reasons.

​Please, let me know if there is a workaround of​ this problem?

​Thank you​

With best regards,
Viktor Gamov

More information about the nashorn-dev mailing list