diff --git a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java index 2b5d06a3197..6913e70ce8f 100644 --- a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java +++ b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java @@ -103,7 +103,7 @@ public class Main { ScriptableObject.DONTENUM); for (int i=0; i < fileList.size(); i++) { - processSource(cx, (String) fileList.get(i)); + processSource(cx, (String) fileList.elementAt(i)); } cx.exit();