This is an automated email from the ASF dual-hosted git repository.

apupier 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 05bd493faab8 CAMEL-24206 - Revert "Provide requirements for jvm 
parameter for Apache Fory and JDK 25+"
05bd493faab8 is described below

commit 05bd493faab87cb0b3eb6af8a3fb3dbe7617a752
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Tue Jul 28 11:38:35 2026 +0200

    CAMEL-24206 - Revert "Provide requirements for jvm parameter for Apache
    Fory and JDK 25+"
    
    This reverts commit 6820f1f88eb6c95de1760ead87dbcbcc596f8212.
    
    thanks to fix in Apache Fory 1.4 apache/fory#3788
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../resources/org/apache/camel/catalog/docs/fory-dataformat.adoc      | 3 ---
 components/camel-fory/pom.xml                                         | 1 -
 components/camel-fory/src/main/docs/fory-dataformat.adoc              | 3 ---
 docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc  | 4 ----
 4 files changed, 11 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/fory-dataformat.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/fory-dataformat.adoc
index 0ae8895eb984..4783ba03ea23 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/fory-dataformat.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/fory-dataformat.adoc
@@ -15,9 +15,6 @@ https://fory.apache.org/[Fory Library]
 [NOTE]
 Apache Fory is not supporting architecture using Big Endian (s390x, for 
instance).
 
-[NOTE]
-With JDK 25+, the JVM parameter `--add-opens 
java.base/java.lang.invoke=ALL-UNNAMED` must be provided to be able to use this 
dataformat.
-
 == Fory Options
 
 
diff --git a/components/camel-fory/pom.xml b/components/camel-fory/pom.xml
index 9d0a4338c5e1..5df9a859982b 100644
--- a/components/camel-fory/pom.xml
+++ b/components/camel-fory/pom.xml
@@ -33,7 +33,6 @@
 
     <properties>
         <skipTests.s390x>true</skipTests.s390x>
-        <camel.surefire.fork.vmargs>--add-opens 
java.base/java.lang.invoke=ALL-UNNAMED</camel.surefire.fork.vmargs>
     </properties>
 
     <dependencies>
diff --git a/components/camel-fory/src/main/docs/fory-dataformat.adoc 
b/components/camel-fory/src/main/docs/fory-dataformat.adoc
index 0ae8895eb984..4783ba03ea23 100644
--- a/components/camel-fory/src/main/docs/fory-dataformat.adoc
+++ b/components/camel-fory/src/main/docs/fory-dataformat.adoc
@@ -15,9 +15,6 @@ https://fory.apache.org/[Fory Library]
 [NOTE]
 Apache Fory is not supporting architecture using Big Endian (s390x, for 
instance).
 
-[NOTE]
-With JDK 25+, the JVM parameter `--add-opens 
java.base/java.lang.invoke=ALL-UNNAMED` must be provided to be able to use this 
dataformat.
-
 == Fory Options
 
 
diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
index 67b28ea11a44..9848a1547f2a 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
@@ -456,10 +456,6 @@ Add the `camel-ai-tool` dependency to your project:
 
 The `camel-spring-ai-tools` dependency is no longer required by 
`camel-spring-ai-chat`.
 
-=== camel-fory with JDK 25+ - Breaking change
-
-Due to new requirements from Apache Fory, when using Apache Fory Dataformat, 
the JVM parameter `--add-opens java.base/java.lang.invoke=ALL-UNNAMED` must be 
provided.
-
 === camel-pqc - potential breaking change
 
 The `pqc` data format now encrypts the message payload with *authenticated 
encryption (AEAD)* instead of the

Reply via email to