On 26/04/17 15:04, Matej Novotny wrote: > >> You can spin one module per package, by creating one ModuleLayer per package, >> not unlike j.l.r.Proxy does. > > Don't know a bit about it, but it sounds like a way worth exploring. > Would you have a pointer towards some code showing how to deal with > ModuleLayers?
You could take a look at the 4.0.0-BETA branch of the byteman agent. https://github.com/bytemanproject/byteman/tree/4.0.0-BETA Modules layer and jigsaw (in the subdirs of the same name) contain code which creates a single Byteman module but that is enough to get you started. regards, Andrew Dinn ----------- Senior Principal Software Engineer Red Hat UK Ltd Registered in England and Wales under Company Registration No. 03798903 Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander