diff --git a/js/rhino/src/org/mozilla/javascript/NativeWith.java b/js/rhino/src/org/mozilla/javascript/NativeWith.java index 455b51e3e148..9b2c00e3c922 100644 --- a/js/rhino/src/org/mozilla/javascript/NativeWith.java +++ b/js/rhino/src/org/mozilla/javascript/NativeWith.java @@ -36,13 +36,17 @@ package org.mozilla.javascript; +import java.io.Serializable; + /** * This class implements the object lookup required for the * with 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) {