Workaround for java.io.NotSerializableException: jdk.nashorn.internal.objects.Global
viktor.gamov at gmail.com
Sun Mar 29 03:59:57 UTC 2015
In my sample project I'm integrating different Hazelcast API with Nashorn.
It's on GH https://github.com/gAmUssA/hazelcast-nashorn
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: java.io.NotSerializableException:
(hazelcastClient.js, line 40, commented)
Thanks to Sundar (
https://twitter.com/sundararajan_a/status/581651315920515072), I learn that
Global object is not serializable to security reasons.
Please, let me know if there is a workaround of this problem?
With Best Regards,
More information about the nashorn-dev