Commit 2bb9d16
Refine JVM flags to only enable dynamic agent loading
Per Mockito documentation section 0.3, the proper approach for Java 21+ is to use -XX:+EnableDynamicAgentLoading flag. Removed unnecessary warning suppressions for native access and sun.misc package opening, which were too broad and hide legitimate warnings.
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>1 parent 7ba2cfe commit 2bb9d16
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments