question on exports to

Alan Bateman Alan.Bateman at oracle.com
Sat Jun 4 11:21:50 UTC 2016


On 04/06/2016 10:55, Jochen Theodorou wrote:

> :
>
> But these module API methods are a different beast. How am I ever 
> supposed to make these work? I am talking about Groovy code callig for 
> example addReads (I know I am supposed to forget about it, but it is 
> the first one that I remember right now.. sorry)
I think it might be useful to spend time understanding Nashorn to see 
how it works with modules. As it's a module then its dependences are 
declared and its internals are encapsulated. At runtime it generates 
code into dynamic modules with strong encapsulation and better security 
compared to before. It can be simplified a bit and maybe at that point 
then it might be useful to publish some documentation or slides that 
will help other dynamic languages.

-Alan


More information about the jigsaw-dev mailing list