Calling super methods when extending classes

Ghasem Kiani ghasemkiani at gmail.com
Wed Jul 31 12:42:56 PDT 2013


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