On 6 April 2017 at 02:34, <mark.reinh...@oracle.com> wrote: > Interesting. Perhaps we need a `Self-Premain-Class` attribute, or some > such. > > Out of curiosity, would it do any harm in your `java -jar` case if the > agent is activated?
As it is right now, yes, that would cause the execution to potentially fail. Should a Self-Premain-Class (or like) not be implements, we would have to check in the beginning of premain if we are running in java -jar mode, and if such, make premain a no-op. /Michael