]> source.dussan.org Git - poi.git/commitdiff
java 17 build issue
authorPJ Fanning <fanningpj@apache.org>
Tue, 22 Feb 2022 08:55:14 +0000 (08:55 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 22 Feb 2022 08:55:14 +0000 (08:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898312 13f79535-47bb-0310-9956-ffa450edef68

poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java

index 7a477cb3d6410e27efea414aed5579790b4c9905..25702c117dece6fbac4b25eb5d4aabe18502a4e8 100644 (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");