From 0dd94cd340f1c9e907914b2de462fe8d33f3e50d Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 30 Aug 2004 13:24:43 +0000 Subject: [PATCH] Reverse order of global.init() and global.initStandardObjects() invocations. This is required by Rhino 1.6R1pre and doesn't hurt with Rhino 1.5. --- src/helma/scripting/rhino/RhinoCore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/scripting/rhino/RhinoCore.java b/src/helma/scripting/rhino/RhinoCore.java index ee05170d..1507a7f3 100644 --- a/src/helma/scripting/rhino/RhinoCore.java +++ b/src/helma/scripting/rhino/RhinoCore.java @@ -91,10 +91,10 @@ public final class RhinoCore { try { // create global object global = new DynamicGlobalObject(this, app); - global.init(); // call the initStandardsObject in ImporterTopLevel so that // importClass() and importPackage() are set up. global.initStandardObjects(context, false); + global.init(); pathProto = new PathWrapper(this);