[
https://issues.apache.org/jira/browse/TIKA-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484012#comment-17484012
]
Hudson commented on TIKA-3665:
------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #444 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/444/])
TIKA-3665 -- some incremental improvements. This does not solve the overall
problem that defaults for dynamic are different for different constructors.
(tallison:
[https://github.com/apache/tika/commit/82ed7304f16a452133f956ef2c27a52409f9bcbf])
* (edit)
tika-bundles/tika-bundle-standard/src/test/java/org/apache/tika/bundle/BundleIT.java
* (edit) tika-core/src/main/java/org/apache/tika/config/ServiceLoader.java
* (edit) tika-core/src/main/java/org/apache/tika/config/TikaActivator.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/ServiceLoaderUtils.java
> Clean up default dynamic loading in ServiceLoader
> -------------------------------------------------
>
> Key: TIKA-3665
> URL: https://issues.apache.org/jira/browse/TIKA-3665
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Major
>
> Over the years, it looks like we've grown some weird behavior around dynamic
> loading of resources.
> My understanding is that we only want dynamic loading in OSGi environments.
> However, the default behavior of whether or not the serviceloaders are
> dynamic is weird: TikaConfig() has default dynamic=true,
> TikaConfig(ClassLoader) dynamic=false, TikaConfig(InputStream|Path) (if
> service-loader element is not set to true) dynamic=false.
> Further, it looks like some components are dynamic=true by default where as
> others are dynamic=false. I suspect no one has noticed that the
> DefaultEncodingDetector has default = false.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)