зеркало из https://github.com/mozilla/gecko-dev.git
dab3f9ac65
non-ScriptableObject implementations of Scriptable. I checked in fixes for the problems of serializing objects with FunctionObjects or GetterSlots. With Foo.class in the current directory, I can now do: [rhino] java -classpath 'build/rhino1_5R4pre/js.jar;.' org.mozilla.javascript.tools.shell.Main Rhino 1.5 release 4 0000 00 00 (in progress) js> defineClass("Foo") js> f = new Foo [object Foo] js> print(f.counter) 0 js> print(f.counter) 1 js> serialize(f, "f.ser") js> quit() [rhino] java -classpath 'build/rhino1_5R4pre/js.jar;.' org.mozilla.javascript.tools.shell.Main Rhino 1.5 release 4 0000 00 00 (in progress) js> f = deserialize("f.ser") [object Foo] js> f.counter 2 js> f.counter 3 |
||
---|---|---|
.. | ||
benchmarks | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
Makefile.in | ||
landbranch.pl | ||
makefile.win |