Re: builtin class loaders and security manager

2018-10-14 Thread Alan Bateman
On 13/10/2018 19:55, Michał Zegan wrote: Hello, I seem to be asking many questions lately, although I am actually interested in some motivations. I was reading code of builtin class loaders, and from what I understand from that, it seems that classes loaded by builtin class loader including app c

Re: module readability and exceptions in api

2018-10-14 Thread Alan Bateman
On 13/10/2018 15:12, Michał Zegan wrote: : hmm so it is not a good idea to, say, generate a bytecode/class to be defined as part of currently loaded module X by means of MethodHandles.Lookup.defineClass or something like that if this bytecode would have to access module Y that is currently not re

Re: builtin class loaders and security manager

2018-10-14 Thread Michał Zegan
W dniu 14.10.2018 o 09:12, Alan Bateman pisze: > On 13/10/2018 19:55, Michał Zegan wrote: >> Hello, >> I seem to be asking many questions lately, although I am actually >> interested in some motivations. I was reading code of builtin class >> loaders, and from what I understand from that, it see

Re: module readability and exceptions in api

2018-10-14 Thread Michał Zegan
W dniu 14.10.2018 o 09:27, Alan Bateman pisze: > On 13/10/2018 15:12, Michał Zegan wrote: >> : >> hmm so it is not a good idea to, say, generate a bytecode/class to be >> defined as part of currently loaded module X by means of >> MethodHandles.Lookup.defineClass or something like that if this b