1
0

Ignore tests that set a SecurityManager on Java 21 and up:

Java 21 and up:
java.lang.UnsupportedOperationException: The Security Manager is
deprecated and will be removed in a future release
This commit is contained in:
Gary Gregory
2024-08-14 14:29:52 -04:00
parent a6ce8a14fa
commit 2a8fecbcbb
3 changed files with 52 additions and 23 deletions

View File

@@ -289,6 +289,7 @@ under the License.
<commons-logging-api>target/${project.build.finalName}-api.jar</commons-logging-api>
<commons-logging-adapters>target/${project.build.finalName}-adapters.jar</commons-logging-adapters>
<testclasses>target/${project.build.finalName}-tests.jar</testclasses>
<commons-lang3>${org.apache.commons:commons-lang3:jar}</commons-lang3>
</systemPropertyVariables>
</configuration>
</execution>
@@ -597,6 +598,12 @@ under the License.
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.16.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>