On 21/11/2017 09:29, Remi Forax wrote:
Hi Alan,
I use jlink plugins for 2 things,
- code generation, i.e. find patterns in the bytecode and optimize them because
at link time you are in a closed world, so something that was dynamic is not
anymore.
- just bytecode crawling to find specific annot
Thanks for the patching idea, Remi. I'll try that.
> So while it might be desirable to expose the interface for plugins, I
think it will need further exploration to see if it makes sense or not.
Understood, it's just that in the current form I don't think many people
(outside of the JDK) will eve
Hi Alan,
I use jlink plugins for 2 things,
- code generation, i.e. find patterns in the bytecode and optimize them because
at link time you are in a closed world, so something that was dynamic is not
anymore.
- just bytecode crawling to find specific annotations to improve startup.
I believe imp
On 20/11/2017 21:56, Gunnar Morling wrote:
I see, thanks for the clarification.
It's a pity, though, I hoped to employ that approach for providing a
custom jlink plug-in (implementation of
jdk.tools.jlink.plugin.Plugin). So it seems that's not possible until
jdk.jlink exports j.t.j.plugin? Ar