aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-08-16 23:18:19 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-08-16 23:18:19 +0000
commitb57da2dadafa52b0e1f93845d01e572f118c23d2 (patch)
tree4cc478eb183628ec6870d6c04dff0a5738df3ad9 /src/resources/devtools
parentd6a97ce38d1fe4f266949110b76b38741149f2c3 (diff)
downloadpoi-b57da2dadafa52b0e1f93845d01e572f118c23d2.tar.gz
poi-b57da2dadafa52b0e1f93845d01e572f118c23d2.zip
#64036 - Replace reflection calls in factories for Java 9+
ImageRenderer implementation are now loaded via ServiceLoader fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources/devtools')
-rw-r--r--src/resources/devtools/forbidden-signatures.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/devtools/forbidden-signatures.txt b/src/resources/devtools/forbidden-signatures.txt
index facc47035f..dbe56c1022 100644
--- a/src/resources/devtools/forbidden-signatures.txt
+++ b/src/resources/devtools/forbidden-signatures.txt
@@ -136,4 +136,7 @@ java.lang.String#toString()
#java.util.Hashtable
@defaultMessage DatatypeConverter is not available in Java 9+ without adding add-opens - use java.util.Base64
-javax.xml.bind.DatatypeConverter \ No newline at end of file
+javax.xml.bind.DatatypeConverter
+
+@defaultMessage don't rely on the threads ContextClassLoader - provide the classloader via load(Class, Classloader)
+java.util.ServiceLoader#load(java.lang.Class) \ No newline at end of file