Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Gradle:
implementation "org.apache.fory:fory-core:1.5.0"
```

On JDK25+, opening `java.lang.invoke` to Fory core is not required, but is recommended. It avoids the
On JDK25+, 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:

Expand Down
2 changes: 1 addition & 1 deletion docs/json/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Use the same version for every Fory module in one application.

### 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`. For a classpath application:

Expand Down
2 changes: 1 addition & 1 deletion docs/object-serialization/java/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/object-serialization/java/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/object-serialization/kotlin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/object-serialization/scala/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ dependencies {

### JDK25+

On JDK25+, opening `java.lang.invoke` to Fory core is not required, but is recommended. It avoids the
On JDK25+, 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:

Expand Down
2 changes: 1 addition & 1 deletion java/fory-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Gradle:
implementation("org.apache.fory:fory-json:1.5.0")
```

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` on the classpath:

Expand Down
Loading