On 1/31/25 19:23, Ron Pressler wrote:
On 31 Jan 2025, at 16:49, Code Ranger<coderanger2...@outlook.com>  wrote:


1. we don't have access to the boot layer controller and we received a 
categorical refusal to grant access to it.
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:

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)
Unfortunately, this is correct.

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?

Best regards, CR

Reply via email to