From 36e63d6779183982f751ee8b65bc6de7980aa6a0 Mon Sep 17 00:00:00 2001 From: Tess Hoffman Date: Sat, 28 Nov 2026 22:33:18 -0700 Subject: [PATCH 1/2] [DIRSTUDIO-1352] Lift the JDK XML parser limits that break the build on JDK 25 Fixes . On JDK 25 the build fails in two places because of the XML parser limits that the JDK sets in its default jaxp.properties: - Tycho 2.3.0 cannot read the p2 metadata of the Eclipse Babel update site while resolving the target platform: it exceeds jdk.xml.maxGeneralEntitySizeLimit (JAXP00010003) and jdk.xml.totalEntitySizeLimit (JAXP00010004). - The DocBook XSLT transformation of the help plugins exceeds jdk.xml.entityExpansionLimit (JAXP00010001). Both failures also happen on master. Add .mvn/jvm.config, which sets these three properties to 0 (no limit) for the Maven JVM. Other jdk.xml.* limits are left at their defaults, because some of them do not treat 0 as "no limit" on older JDKs. The properties only affect XML parsing inside the Maven process and have no effect on the build output. Verified on JDK 25 that target platform resolution (mvn validate) and the build of the help plugins pass, and that the full build (pom-first.xml and pom.xml) still passes on JDK 17. A full build on JDK 25 also needs the separate fix for the antlr-maven-plugin Security Manager failure. --- .mvn/jvm.config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .mvn/jvm.config diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 000000000..ed5a521f3 --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,3 @@ +-Djdk.xml.entityExpansionLimit=0 +-Djdk.xml.totalEntitySizeLimit=0 +-Djdk.xml.maxGeneralEntitySizeLimit=0 From cd6c40991903a3410237d1bfc2f16435c83eea39 Mon Sep 17 00:00:00 2001 From: Tess Hoffman Date: Sun, 29 Nov 2026 01:14:51 -0700 Subject: [PATCH 2/2] [DIRSTUDIO-1352] Download Babel artifacts without p2 mirrors The "Build with OpenJDK 17" job failed while packaging the NLS feature: p2 tried to download org.eclipse.equinox.p2.updatechecker.nl_fr from the Eclipse Babel R0.15.1 update site through Eclipse download mirrors, and none of the mirrors has that artifact ("Artifact not found"; one mirror, mirror1.sox.rs, no longer resolves). The Babel R0.15.1 site is only hosted on archive.eclipse.org, so mirror selection fails at random and the build is flaky. Set eclipse.p2.mirrors=false in .mvn/jvm.config, so p2 downloads artifacts directly from the repository URLs in the target platform. Verified that the full build (pom-first.xml and pom.xml) passes on JDK 17 with an empty local Maven repository and no mirror use, and that on JDK 25 target platform resolution and the help plugins still pass. --- .mvn/jvm.config | 1 + 1 file changed, 1 insertion(+) diff --git a/.mvn/jvm.config b/.mvn/jvm.config index ed5a521f3..ac4c3ddd2 100644 --- a/.mvn/jvm.config +++ b/.mvn/jvm.config @@ -1,3 +1,4 @@ -Djdk.xml.entityExpansionLimit=0 -Djdk.xml.totalEntitySizeLimit=0 -Djdk.xml.maxGeneralEntitySizeLimit=0 +-Declipse.p2.mirrors=false