Rhino 1.7 support

Hi Servoy,

Do you have plans for supporting the newer Rhino versions?
Considering that Rhino 1.6R7 was released in 2007 and quite a few changes have been added to the Rhino engine since then, perhaps it is time for an upgrade?
Granted, some of new features you have actually incorporated in the “custom” Rhino used by Servoy so it is not actually 1.6R7 but a bit more - still, there are useful features in Rhino 1.7R3 worth having in Servoy.

See:
https://developer.mozilla.org/en/Rhino_downloads_archive

trunk is already on 1.7R3 so the next major version will have the latest rhino.
What features did you want to use? Because what is not yet up to date is the editor itself for all the javascript 1.7 and some 1.8 features…
Problem with javascript that it is so fragmented …

Speaking of Rhino, have you heard about Oracle’s Nashorn project? Oracle’s creating their own Javascript engine to replace the Rhino one they bundle with the JDK today. They claim their’s is already 3x faster and uses 5x less memory. Of course it won’t be released for at least another year and I don’t suppose Servoy would be able to use it via the rather limited JSR-223 interfaces anyhow.

rhino is also constantly being improved:

http://groups.google.com/group/mozilla- … cd61&pli=1

and if Nashorn is really only included in Java8 then it will really take years and years for Servoy to depend on that we currently on java5 so not even 6 or 7 (not that we directly miss features currently if we could use 6 or 7…)

jcompagner:
What features did you want to use? Because what is not yet up to date is the editor itself for all the javascript 1.7 and some 1.8 features…

One particular thing which we were looking at is the JSON object. We need the “standard” JSON serialization to interface with outside systems. The serialization plugin in Servoy is OK only for internal usage because it prefixes object properties and adds Java class names