Ah, so that's the difference (javadocs don't included "final" in method
summaries so I didn't notice). Guess this means I get to make an
enhancement request.
On Thu, Feb 22, 2018 at 9:53 PM, Sundararajan Athijegannathan <
sundararajan.athijegannat...@oracle.com> wrote:
> Hi,
>
> Two things:
>
>
Hi,
Two things:
* Nashorn allows access only to public methods and fields (of exported)
classes only.
* With Java.extend, Nashorn adds public overrides of all non-final
protected methods of the superclass.
ClassLoader.definePackage is non-final protected method.
ClassLoader.defineClass is f