JDK 21 - Dynamic Loading of Agent limit
rogeriob2br opened this issue · 4 comments
##141
Just like the version 16 error described in issue 141, I'm experiencing the same problem that apparently should be fixed with "-XX:+EnableDynamicAgentLoading", but it had no effect.
Apparently it reached an agent limit.
I searched for the error, and for the warning that Dynamic Loading agents will be disabled, and found an issue in mockito:
#mockito/mockito#3037
From the description, libraries could no longer use agents without -javaagent
Is there any way to fix it?
This error issue may not be caused by instrumentation. The warning you saw was benign.
The output says, Valid inputs: 0(0.00%)
, which should be the issue. You may check the implementation of the generator and verify if it can generate valid inputs.
@rogeriob2br Did @aoli-al's comment help you out? I just tried JQF on both Java 21 and Java 22 and everything works fine for me with the examples in the repo.
Yes, I was really making mistakes in the test.
Thanks for confirming!