Closed
Bug 42523
Opened 25 years ago
Closed 25 years ago
java.io.File.delete() conflicts with JS delete operator
Categories
(Rhino Graveyard :: Core, defect, P3)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: jlaprise, Assigned: norrisboyd)
Details
For example,
var x = new java.io.File( "filename" );
x.delete();
produces the following exception
missing name after . operator
| Assignee | ||
Comment 1•25 years ago
|
||
Yes, I'm afraid the only way around this is to use [] syntax:
x["delete"]();
The current behavior is correct on Rhino's part.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 2•25 years ago
|
||
Mozilla handles it correctly, marking as verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•