Implementing Serializable so that continuations captured within a "with" block can be serialized.

This commit is contained in:
szegedia%freemail.hu 2006-05-17 08:23:14 +00:00
Родитель 50a293e6a5
Коммит 293bce7b4b
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -36,13 +36,17 @@
package org.mozilla.javascript;
import java.io.Serializable;
/**
* This class implements the object lookup required for the
* <code>with</code> statement.
* It simply delegates every action to its prototype except
* for operations on its parent.
*/
public class NativeWith implements Scriptable, IdFunctionCall {
public class NativeWith implements Scriptable, IdFunctionCall, Serializable {
private static final long serialVersionUID = 1L;
static void init(Scriptable scope, boolean sealed)
{