]> source.dussan.org Git - poi.git/commit
#64036 - Replace reflection calls in factories for Java 9+
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 16 Aug 2020 23:18:19 +0000 (23:18 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 16 Aug 2020 23:18:19 +0000 (23:18 +0000)
commitb57da2dadafa52b0e1f93845d01e572f118c23d2
tree4cc478eb183628ec6870d6c04dff0a5738df3ad9
parentd6a97ce38d1fe4f266949110b76b38741149f2c3
#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
20 files changed:
src/java/org/apache/poi/extractor/ExtractorFactory.java
src/java/org/apache/poi/sl/draw/ImageRenderer.java
src/java/org/apache/poi/sl/usermodel/SlideShowFactory.java
src/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
src/multimodule/ooxml/java9/module-info.class
src/multimodule/ooxml/java9/module-info.java
src/multimodule/ooxml/test9/module-info.class
src/multimodule/ooxml/test9/module-info.java
src/multimodule/poi/java9/module-info.class
src/multimodule/poi/java9/module-info.java
src/multimodule/poi/test9/module-info.class
src/multimodule/poi/test9/module-info.java
src/multimodule/scratchpad/java9/module-info.class
src/multimodule/scratchpad/java9/module-info.java
src/multimodule/scratchpad/test9/module-info.class
src/multimodule/scratchpad/test9/module-info.java
src/resources/devtools/forbidden-signatures.txt
src/resources/main/META-INF/services/org.apache.poi.sl.draw.ImageRenderer [new file with mode: 0644]
src/resources/ooxml/META-INF/services/org.apache.poi.sl.draw.ImageRenderer [new file with mode: 0644]
src/resources/scratchpad/META-INF/services/org.apache.poi.sl.draw.ImageRenderer [new file with mode: 0644]