This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 4048f8f99fe4 CAMEL-22114: camel-fop - remove the JDK 25 test
workaround, as FOP 2.12 fixes FOP-3275 (#30879)
4048f8f99fe4 is described below
commit 4048f8f99fe49b26f1329de85fcf078be6289491
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 26 18:36:08 2026 +0100
CAMEL-22114: camel-fop - remove the JDK 25 test workaround, as FOP 2.12
fixes FOP-3275 (#30879)
On JDK 25, FOP 2.11 failed with "FWK005 parse may not be called while
parsing" when
reading event-model.xml, so the tests used Saxon-HE on JDK 25+. FOP 2.12,
which Camel
uses, has the fix for FOP-3275, and the tests pass on JDK 25 without Saxon.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
components/camel-fop/pom.xml | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/components/camel-fop/pom.xml b/components/camel-fop/pom.xml
index b7c5e7fa7d91..919035c3baf5 100644
--- a/components/camel-fop/pom.xml
+++ b/components/camel-fop/pom.xml
@@ -83,22 +83,4 @@
</dependency>
</dependencies>
-
- <profiles>
- <!-- Workaround for FOP-3275: JDK 25+ has a re-entrant XML parsing bug
that breaks Apache FOP -->
- <profile>
- <id>jdk25-fop-workaround</id>
- <activation>
- <jdk>[25,)</jdk>
- </activation>
- <dependencies>
- <dependency>
- <groupId>net.sf.saxon</groupId>
- <artifactId>Saxon-HE</artifactId>
- <version>${saxon-version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
</project>