Tim Allison created TIKA-4942:
---------------------------------
Summary: 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
>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)