Calling super methods when extending classes
A. Sundararajan
sundararajan.athijegannathan at oracle.com
Wed Jul 31 20:19:29 PDT 2013
No. As of now, Nashorn does not support calling super class methods.
-Sundar
On Thursday 01 August 2013 01:12 AM, Ghasem Kiani wrote:
> Dear Sirs,
>
> I read the documentation at this URL:
> http://hg.openjdk.java.net/nashorn/jdk8/nashorn/raw-file/29b2b2ed954c/docs/JavaScriptingProgrammersGuide.html
> However, I couldn't find the answer to my question, so I decided to ask
> here.
>
> When extending Java classes using Java.extend, is there a way to call
> "super" methods? Rhino seems to provide a way by prepending the method name
> with "super$".
>
> Thanks,
> Ghasem Kiani
More information about the nashorn-dev
mailing list