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

poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java

index bc05b255320a69ec680e4a33a9ad509241bd76d7..11fe068abb77957497051cf75e6c1b810bb150f9 100644 (file)
@@ -46,6 +46,7 @@ import static java.lang.invoke.MethodType.methodType;
  * use the replacement in Java 9+.
  * This implementation is inspired by LUCENE-6989.
  */
+@SuppressForbidden("uses java.security features deprecated in java 17 - no other option though")
 public final class CleanerUtil {
 
     // Prevent instantiation