Skip to content

Commit d7b7ebe

Browse files
committed
Adds hotfix for Mockito not working on Java 21
I'll update Mockito later, but it's not a priority right now.
1 parent 73e8fbf commit d7b7ebe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@
9696
<!-- sonarcloud CI -->
9797
<sonar.organization>jorel-ali</sonar.organization>
9898
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
99+
100+
<!-- Hot-fix for Mockito and Java 21, should really update Mockito instead.
101+
See https://github.com/raphw/byte-buddy/issues/1396 for more info -->
102+
<argLine>-Dnet.bytebuddy.experimental=true</argLine>
99103
</properties>
100104

101105
<build>

0 commit comments

Comments
 (0)