Skip to content

Make JSScript serialisable #2402

Description

@bunkenburg

What is the problem?

Rhino has the interesting feature continuations. With continuations, it is possible to interrupt the execution of a rhino program, and resume it later. However, this feature would be even more interesting if the interrupted execution state could be stored, duplicated, and transmitted. These all need serialisation: It must be possible to convert the state to bytes, and to convert the bytes back to an execution state.

Indeed, that was possible in rhino 1.7 (or so I think), but now it is not because JSScript is not serialisable.

So the ticket asks for JSScript to me made serialisable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions