On 12/05/2016 17:47, Paul Benedict wrote:
I think the interception would also solve the use case of Redhat's
Byteman. If the Layer can be given access to the Module Configuration
and before any classes in the Module are loaded (chicken-and-egg for
module-info.class?), then class transformation can be accomplished at
the same time.
Layer isn't the place for this. If you want to intercept or have the
module declaration be in another format or have the module be packaged
in other ways then you implement an appropriate ModuleFinder and specify
it when creating the Configuration.
-Alan.