Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
Issue #572
  • Loading branch information
rsoika committed Aug 16, 2024
1 parent 48572dd commit b94c19c
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,31 @@
<target>${java.target}</target>
</configuration>
</plugin>

<!-- issue #572
hack for:
https://stackoverflow.com/questions/75116023/unable-to-make-protected-final-java-lang-class-java-lang-classloader-defineclass
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
</argLine>
</configuration>
</execution>
</executions>
</plugin>

<!-- release management -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -438,12 +463,6 @@
<version>5.8.0</version>
<scope>test</scope>
</dependency>
<!-- See issue #572 -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
</dependency>
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>jakarta.json</artifactId>
Expand Down

0 comments on commit b94c19c

Please sign in to comment.