Closed Bug 549136 Opened 15 years ago Closed 7 years ago

rhino shell load() function does not load multiple files.

Categories

(Rhino Graveyard :: Core, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: dnozay, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091216 Fedora/3.5.6-1.fc11 Firefox/3.5.6 Build Identifier: Rhino 1.7 release 0.6.r2.fc11 2009 06 01 The shell load function does not work with multiple files on my system. --------------------------------------------------------------------- load(["foo.js", ...]) Load JavaScript source files named by string arguments. --------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. touch a.js b.js 2. java org.mozilla.javascript.tools.shell.Main << EOF load(['a.js']); load(['b.js']); load(['a.js', 'b.js']) EOF 3. boom. Actual Results: Rhino 1.7 release 0.6.r2.fc11 2009 06 01 js> js> js> js: "<stdin>", line 4: Couldn't read source file "a.js,b.js: a.js,b.js (No such file or directory)". js> Expected Results: Rhino 1.7 release 0.6.r2.fc11 2009 06 01 js> js> js> js> note: load calls processFile but not processFiles?

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.