Reverse order of global.init() and global.initStandardObjects() invocations. This is
required by Rhino 1.6R1pre and doesn't hurt with Rhino 1.5.
This commit is contained in:
parent
4df534a590
commit
0dd94cd340
1 changed files with 1 additions and 1 deletions
|
@ -91,10 +91,10 @@ public final class RhinoCore {
|
||||||
try {
|
try {
|
||||||
// create global object
|
// create global object
|
||||||
global = new DynamicGlobalObject(this, app);
|
global = new DynamicGlobalObject(this, app);
|
||||||
global.init();
|
|
||||||
// call the initStandardsObject in ImporterTopLevel so that
|
// call the initStandardsObject in ImporterTopLevel so that
|
||||||
// importClass() and importPackage() are set up.
|
// importClass() and importPackage() are set up.
|
||||||
global.initStandardObjects(context, false);
|
global.initStandardObjects(context, false);
|
||||||
|
global.init();
|
||||||
|
|
||||||
pathProto = new PathWrapper(this);
|
pathProto = new PathWrapper(this);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue