This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 054222bfed1ad2a353f3e83d46082498bcadcdbe Author: chaokunyang <[email protected]> AuthorDate: Tue Aug 4 16:50:10 2026 +0000 🔄 synced local 'docs/object-serialization/' with remote 'docs/object-serialization/' --- docs/object-serialization/java/index.md | 2 +- docs/object-serialization/java/troubleshooting.md | 2 +- docs/object-serialization/kotlin/index.md | 2 +- docs/object-serialization/scala/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/object-serialization/java/index.md b/docs/object-serialization/java/index.md index 15fadb9c40..c012405925 100644 --- a/docs/object-serialization/java/index.md +++ b/docs/object-serialization/java/index.md @@ -76,7 +76,7 @@ implementation("org.apache.fory:fory-core:1.5.0") #### JDK 25 and Later -On JDK 25 and later, opening `java.lang.invoke` to Fory core is not required, but is recommended. It avoids +On JDK 25 and later, opening `java.lang.invoke` to Fory core is also recommended. It avoids the current-JDK Unsafe fallback and is required when Unsafe access is disabled or unavailable, including with `--sun-misc-unsafe-memory-access=deny`. Use `ALL-UNNAMED` when Fory is on the classpath: diff --git a/docs/object-serialization/java/troubleshooting.md b/docs/object-serialization/java/troubleshooting.md index d70a027552..86e006319e 100644 --- a/docs/object-serialization/java/troubleshooting.md +++ b/docs/object-serialization/java/troubleshooting.md @@ -185,7 +185,7 @@ fory.registerSerializer(MyClass.class, new MyClassSerializer(fory.getTypeResolve ### JDK25+ access errors -On JDK25+, opening `java.lang.invoke` to Fory core is not required, but is recommended. Add the opening if +On JDK25+, opening `java.lang.invoke` to Fory core is also recommended. Add the opening if an error names `java.base/java.lang.invoke`, or when Unsafe access is disabled or unavailable, including with `--sun-misc-unsafe-memory-access=deny`. Use `ALL-UNNAMED` when Fory is on the classpath: diff --git a/docs/object-serialization/kotlin/index.md b/docs/object-serialization/kotlin/index.md index 77dda3e8c9..991117292c 100644 --- a/docs/object-serialization/kotlin/index.md +++ b/docs/object-serialization/kotlin/index.md @@ -66,7 +66,7 @@ implementation("org.apache.fory:fory-kotlin:1.5.0") ### JDK25+ Kotlin uses the Fory Java core when running. On JDK25+, opening `java.lang.invoke` to Fory core is -not required, but is recommended. It avoids the current-JDK Unsafe fallback and is required when Unsafe +also recommended. It avoids the current-JDK Unsafe fallback and is required when Unsafe access is disabled or unavailable, including with `--sun-misc-unsafe-memory-access=deny`. Use `ALL-UNNAMED` when Fory is on the classpath: diff --git a/docs/object-serialization/scala/index.md b/docs/object-serialization/scala/index.md index 7a10630b66..733725d957 100644 --- a/docs/object-serialization/scala/index.md +++ b/docs/object-serialization/scala/index.md @@ -55,7 +55,7 @@ libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.5.0" ### JDK25+ Scala uses the Fory Java core when running. On JDK25+, opening `java.lang.invoke` to Fory core is -not required, but is recommended. It avoids the current-JDK Unsafe fallback and is required when Unsafe +also recommended. It avoids the current-JDK Unsafe fallback and is required when Unsafe access is disabled or unavailable, including with `--sun-misc-unsafe-memory-access=deny`. Use `ALL-UNNAMED` when Fory is on the classpath: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
