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)

x86
Windows NT
defect

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
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
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.