<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 1/31/25 19:23, Ron Pressler wrote:<span style="white-space: pre-wrap">
</span></div>
<blockquote type="cite" cite="mid:CAEEA8BF-10B8-49D9-8D6A-8ADDD7AAD9CE@oracle.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On 31 Jan 2025, at 16:49, Code Ranger <a class="moz-txt-link-rfc2396E" href="mailto:coderanger2025@outlook.com"><coderanger2025@outlook.com></a> wrote:
1. we don't have access to the boot layer controller and we received a categorical refusal to grant access to it.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
That is incorrect. The API for controlling modules in the boot layer has been available since JDK 9, using the very mechanism that has been used for precisely this kind of super-powered manipulation for 20 years:
<a class="moz-txt-link-freetext" href="https://docs.oracle.com/en/java/javase/23/docs/api/java.instrument/java/lang/instrument/Instrumentation.html#redefineModule(java.lang.Module,java.util.Set,java.util.Map,java.util.Map,java.util.Set,java.util.Map)">https://docs.oracle.com/en/java/javase/23/docs/api/java.instrument/java/lang/instrument/Instrumentation.html#redefineModule(java.lang.Module,java.util.Set,java.util.Map,java.util.Map,java.util.Set,java.util.Map)</a>
</pre>
</blockquote>
Unfortunately, this is correct. <br>
<br>
I am sure, that if it is necessary to use agent and java
instrumentation to make this the simplest configuration work, then
it simply means, that something is wrong here. Maybe two many
constrains?<br>
<br>
Best regards, CR<br>
</body>
</html>