Presently, the version of Rhino included by https://github.com/TIBCOSoftware/jasperreports/blob/f90ac23f9ba375ef9d7aedb4f969c342bd254837/jasperreports/pom.xml#L195 is 1.7.6 which dates from April 2015 (https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md#rhino-176). The most recent version as of this writing is 1.7.10 from April 2018 and this includes feature flags that allow for ES6 support.
This is an enhancement request to have the version of Rhino updated, and ES6 support turned on.
Recommended Comments