зеркало из https://github.com/mozilla/pjs.git
Implement Serializable by recently introduced ImporterFunctions as this is required for scope serialization.
This commit is contained in:
Родитель
507f6e1571
Коммит
341ffcaf63
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
package org.mozilla.javascript;
|
package org.mozilla.javascript;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ImporterTopLevel
|
* Class ImporterTopLevel
|
||||||
*
|
*
|
||||||
|
@ -175,7 +177,7 @@ public class ImporterTopLevel extends ScriptableObject {
|
||||||
private ObjArray importedPackages = new ObjArray();
|
private ObjArray importedPackages = new ObjArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
final class ImporterFunctions implements IdFunctionMaster
|
final class ImporterFunctions implements Serializable, IdFunctionMaster
|
||||||
{
|
{
|
||||||
ImporterFunctions(ImporterTopLevel importer)
|
ImporterFunctions(ImporterTopLevel importer)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче