Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 378860

Summary: Specify JS language version when invoking Rhino
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: RelengAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 0.4   
Target Milestone: 0.5 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-05-08 11:42:21 EDT
We don't specify any language version when invoking Rhino in our closure build. We should specify a version because I don't see any documentation on what you get by default if you don't. It might also help with our problem of the build blowing up when it hits a trailing comman in an object literal.
Comment 2 John Arthorne CLA 2012-05-08 14:59:35 EDT
I have done this, although the latest supported by Rhino is JS 1.8.0. JS 1.8.5 is the version that is ECMA5 compliant.
Comment 3 Mark Macdonald CLA 2013-02-22 13:37:02 EST
See bug 401559