[
https://issues.apache.org/jira/browse/TIKA-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120352#comment-18120352
]
ASF GitHub Bot commented on TIKA-4942:
--------------------------------------
tballison commented on PR #3275:
URL: https://github.com/apache/tika/pull/3275#issuecomment-5877727750
How's this?
> Avoid recursion in osgi in 4.x
> ------------------------------
>
> Key: TIKA-4942
> URL: https://issues.apache.org/jira/browse/TIKA-4942
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Blocker
>
> From my bot, based on [https://github.com/apache/tika/pull/3260] and
> [~pkarwasz] report
> {noformat}
> tika-bundle-standard registered a DefaultParser and DefaultDetector backed
> by
> a dynamic ServiceLoader. TikaActivator adds registered services to that same
> dynamic set, so each found itself and every parse or detect through the OSGi
> services overflowed the stack. The bundle now registers both on a
> non-dynamic
> loader, and a dynamic DefaultParser or DefaultDetector no longer merges in
> another dynamic one, which also covers third-party bundles and two bundles
> registering defaults.{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)