<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/28/23 10:38 PM, Alan Bateman
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:53d4922d-7410-b6bd-d739-28b922e3c791@oracle.com">
      
      <br>
      <br>
      <div class="moz-cite-prefix">On 28/09/2023 21:42, <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:daniel.daugherty@oracle.com" moz-do-not-send="true">daniel.daugherty@oracle.com</a> wrote:<br>
      </div>
      <blockquote type="cite" cite="mid:09ae3f73-b676-45df-a1e5-6995a2f81821@oracle.com"> <font face="monospace">java.lang.instrument is owned by the
          Serviceability Team so I'm redirecting this<br>
          message to that alias...<br>
        </font></blockquote>
      <br>
      This doesn't look like a JDK issue, instead it looks like <code class="gmail-hljs gmail-language-java" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-kerning:inherit;font-feature-settings:inherit;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">com.github.jelmerk.ObjectSizeFetcher
        has an Instrumentation field that is null. SO is a reasonable
        place to discuss usage issues like this although I see one of
        the answers about agents getting its own class loader is
        confusing as the agent class is loaded by the application class
        loader, the VM doesn't create a class loader for agents.</code><br>
      <br>
    </blockquote>
    <br>
    perhaps the next step is to test the example 'standalone' as opposed
    to being executed from maven plugin...<br>
    <br>
    <blockquote type="cite" cite="mid:53d4922d-7410-b6bd-d739-28b922e3c791@oracle.com"> -Alan.<br>
    </blockquote>
    <br>
  </body>
</html>