Re: Cannot use a mapper function to get the Platform classloader

2020-12-15 Thread Thiago Henrique Hupner
Yes, that was exactly what I need. Thank you! Em dom., 13 de dez. de 2020 às 13:00, Alan Bateman escreveu: > On 12/12/2020 15:05, Thiago Henrique Hupner wrote: > > Hi. > > > > I'm playing around with layers and I needed the following: > > Create a new layer where it doesn't have access to the b

Re: Cannot use a mapper function to get the Platform classloader

2020-12-13 Thread Alan Bateman
On 12/12/2020 15:05, Thiago Henrique Hupner wrote: Hi. I'm playing around with layers and I needed the following: Create a new layer where it doesn't have access to the boot layer using the ModuleLayer.empty(). However, I'm getting the exception that java.base is not found. So I used something l

Cannot use a mapper function to get the Platform classloader

2020-12-12 Thread Thiago Henrique Hupner
Hi. I'm playing around with layers and I needed the following: Create a new layer where it doesn't have access to the boot layer using the ModuleLayer.empty(). However, I'm getting the exception that java.base is not found. So I used something like this: ModuleLayer.boot().defineModules(conf, mod