Tim Allison created TIKA-5092:
---------------------------------
Summary: More elegantly handle java 24's change to entity
expansion defaults
Key: TIKA-5092
URL: https://issues.apache.org/jira/browse/TIKA-5092
Project: Tika
Issue Type: Task
Reporter: Tim Allison
I just ran the regression eval with jdk 25 (for the first time), and I found a
couple hundred files that either had new exceptions or had a new warning (for
ooxml).
The issue is that java 24 tightened the count of entity expansions. So 110,00
<s fail in Java 25, but were allowed in java 17.
I figured the entity limit would be the single entity size, but, no, it is the
sum of entities. We just hadn't noticed before because Java 17's limit was
absurdly high.
So "more elegantly" means that we should figure out what to do with the limits
in our code, in our documentation and in our Docker images. And, for ooxml, we
need to not catch and swallow/log the exception.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)