RFR 8158736: Adapter class loaders can avoid creating named dynamic modules
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Tue Jun 7 03:55:52 UTC 2016
No, there are still named, dynamic modules in Nashorn. That comment
was specific to adapter module in nashorn. StructureLoader and
ScriptLoaders load generated classes that require encapsulation. And so
these loader classes do create named, dynamic modules still.
-Sundar
On 6/7/2016 12:30 AM, Jochen Theodorou wrote:
> On 06.06.2016 11:38, Sundararajan Athijegannathan wrote:
> [...]
>> There is no need for named dynamic module - as there is nothing to
>> encapsulate. Nashorn module can still selectively export packages to
>> adapter module [ so that generated adapter class can access nashorn
>> internals as needed].
>
> does that mean the only user of named dynamic modules is gone now?
>
> bye Jochen
>
More information about the nashorn-dev
mailing list