Closed
Bug 368452
Opened 18 years ago
Closed 17 years ago
Implement __noSuchMethod__ in Rhino
Categories
(Rhino Graveyard :: Core, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
1.6R6
People
(Reporter: inonit, Assigned: norrisboyd)
Details
Attachments
(1 file)
2.29 KB,
patch
|
Details | Diff | Splinter Review |
See bug 196097 for SpiderMonkey. Basically this implements a default handler when methods are invoked on an object that do not exist, which supports various programming techniques.
Comment 1•17 years ago
|
||
I've started investigating this. Looks like it should require no codegen changes, just some trickery to finesse the existing call code.
Comment 2•17 years ago
|
||
This doesn't break any new tests and passes the noSuchMethod test already written.
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → norrisboyd
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•17 years ago
|
||
Checked in Bob's change: /cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java,v <-- ScriptRuntime.java new revision: 1.257; previous revision: 1.256 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•17 years ago
|
||
Adding target milestone of 1.6R6 based on the date this bug was resolved FIXED.
Target Milestone: --- → 1.6R6
You need to log in
before you can comment on or make changes to this bug.
Description
•