[ 
https://issues.apache.org/jira/browse/TIKA-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154736#comment-18154736
 ] 

Hudson commented on TIKA-5092:
------------------------------

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk17 #1827 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1827/])
TIKA-5092 follow ups (#3710) (github: 
[https://github.com/apache/tika/commit/4856c88667e8993b62c05ac0602758f000cfae4d])
* (edit) tika-grpc/docker-build/Dockerfile
* (edit) tika-server/docker-build/minimal/Dockerfile.snapshot
* (edit) docs/modules/ROOT/pages/security.adoc
* (edit) tika-server/docker-build/full/Dockerfile
* (edit) docs/modules/ROOT/pages/using-tika/docker.adoc
* (edit) tika-core/src/test/java/org/apache/tika/utils/JdkXmlLimitFlagsTest.java
* (edit) tika-server/docker-build/docker-tool.sh
* (edit) docs/modules/ROOT/pages/using-tika/server/tls.adoc
* (edit) release-tools/uat/run-uat.sh
* (edit) tika-server/docker-build/minimal/Dockerfile
* (edit) docs/modules/ROOT/pages/configuration/xml-parser-limits.adoc
* (edit) CHANGES.txt
* (edit) tika-server/docker-build/full/Dockerfile.snapshot


> 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
>            Priority: Major
>
> 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,000 <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 should try not to catch and swallow/log the exception – we need to 
> rethrow to make the failure loud.
>  
> Some links:
>  * 
> [https://docs.oracle.com/en/java/javase/26/security/java-api-xml-processing-jaxp-security-guide.html]
>  * 
> [https://docs.oracle.com/en/java/javase/26/docs/api/java.xml/module-summary.html]
>  
>  * 
> [https://commons.apache.org/sandbox/commons-xml/jacoco/org.apache.commons.xml/Limits.java.html]
>  



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to