Attila Szegedi szegedia at gmail.com
Mon Oct 17 15:27:40 UTC 2016


> On 17 Oct 2016, at 03:21, Hannes Wallnöfer <hannes.wallnoefer at oracle.com> wrote:
> 
> Hi Esben,
> 
> 
>> Am 17.10.2016 um 09:11 schrieb Esben Andreasen <esben at esbena.dk <mailto:esben at esbena.dk>>:
>> 
>> A.
>> Where can I read about such non-ECMA-standard features in Nashorn?
>> 
> 
> https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions <https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions>
> 
> I don’t think the string methods from java.lang.String are contained in that page because, as Attila said, it is a side effect of using java.lang.String as JS string representation and transparently exposing Java methods to scripts.

I was thinking that maybe we shoud switch off Java methods on Nashorn primitives with --no-java. A quick test shows we don’t do that now.

Attila.



More information about the nashorn-dev mailing list