java 17 build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898312 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-02-22 08:55:14 +00:00
parent 32fa21596d
commit f090436eca
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class TestPOIFSDump {
}
@Test
@SuppressForbidden("tests java.security features deprecated in java 17 - no other option though")
void testMainNoArgs() {
Assumptions.assumeFalse(System.getProperty("java.version").startsWith("18"),
"SecurityManager does not work any more since JDK 18");