aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-02-22 01:40:54 +0000
committerPJ Fanning <fanningpj@apache.org>2022-02-22 01:40:54 +0000
commit9dca5a4fe41b7e4134c54e392a7f7494a6321957 (patch)
tree729392d5d9c938b712db42335d880ac7c28c8c76 /poi
parent76276308e9417cec105656c108fa17d1a019cd42 (diff)
downloadpoi-9dca5a4fe41b7e4134c54e392a7f7494a6321957.tar.gz
poi-9dca5a4fe41b7e4134c54e392a7f7494a6321957.zip
java 17 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898300 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java b/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java
index bc05b25532..11fe068abb 100644
--- a/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java
+++ b/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java
@@ -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