In fact there's https://bugs.openjdk.java.net/browse/JDK-8157723, which was
filed by you and waiting for me. I actually dug it up earlier today. The fix
you suggested seems to be working, so it looks like we should do this.
> Am 17.10.2016 um 17:27 schrieb Attila Szegedi <szege...@gmail.com>:
>> On 17 Oct 2016, at 03:21, Hannes Wallnöfer <hannes.wallnoe...@oracle.com>
>> Hi Esben,
>>> Am 17.10.2016 um 09:11 schrieb Esben Andreasen <es...@esbena.dk>:
>>> Where can I read about such non-ECMA-standard features in Nashorn?
>> 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
> 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.