Re: Whitelisting modules in layers

2017-12-02 Thread Mark Raynsford
On 2017-12-02T09:32:37 + Alan Bateman wrote: > > It looks like this demo is attempting to create a module layer from a > configuration that contains java.base. The java.base module is in the > boot layer, alternative implementations of java.base are not allowed in > other layers (java.base

Re: Whitelisting modules in layers

2017-12-02 Thread Alan Bateman
On 01/12/2017 18:47, Mark Raynsford wrote: : I've played around with the ModuleFinder API a little, and came up with the following: https://github.com/io7m/moduledemo-20171201/blob/master/src/main/java/com/io7m/moduledemo/WhitelistModuleDemo.java However, the boot_layer.defineModulesWithOn