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.git
The following commit(s) were added to refs/heads/main by this push:
new 8acc76ecf docs: rename graalvm_support.md to graalvm-support.md (#3589)
8acc76ecf is described below
commit 8acc76ecf0bfe94e27bbd50cdd59182dfbd00b79
Author: Shawn Yang <[email protected]>
AuthorDate: Mon Apr 20 15:41:19 2026 +0800
docs: rename graalvm_support.md to graalvm-support.md (#3589)
## Why?
## What does this PR do?
## Related issues
## AI Contribution Checklist
- [ ] Substantial AI assistance was used in this PR: `yes` / `no`
- [ ] If `yes`, I included a completed [AI Contribution
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
in this PR description and the required `AI Usage Disclosure`.
- [ ] If `yes`, my PR description includes the required `ai_review`
summary and screenshot evidence of the final clean AI review results
from both fresh reviewers on the current PR diff or current HEAD after
the latest code changes.
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
---
README.md | 2 +-
docs/README.md | 2 +-
docs/guide/java/{graalvm_support.md => graalvm-support.md} | 0
docs/guide/java/index.md | 2 +-
docs/guide/java/object-copy.md | 6 ++++--
java/README.md | 4 ++--
6 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index c132515d9..ea9a1b5eb 100644
--- a/README.md
+++ b/README.md
@@ -584,7 +584,7 @@ For more details on row format, see [Row Format
Specification](docs/specificatio
| **C++** | C++ implementation and patterns
| [cpp](docs/guide/cpp) | [๐
View](https://fory.apache.org/docs/guide/cpp/) |
| **Scala** | Scala integration and best practices
| [scala](docs/guide/scala) | [๐
View](https://fory.apache.org/docs/guide/scala/) |
| **Cross-Language Serialization** | Multi-language object exchange
| [xlang](docs/guide/xlang) | [๐
View](https://fory.apache.org/docs/guide/xlang/) |
-| **GraalVM** | Native image support and AOT compilation
| [graalvm_support.md](docs/guide/java/graalvm_support.md) | [๐
View](https://fory.apache.org/docs/guide/java/graalvm_support) |
+| **GraalVM** | Native image support and AOT compilation
| [graalvm-support.md](docs/guide/java/graalvm-support.md) | [๐
View](https://fory.apache.org/docs/guide/java/graalvm_support) |
| **Development** | Building and contributing to Fory
| [DEVELOPMENT.md](docs/guide/DEVELOPMENT.md) | [๐
View](https://fory.apache.org/docs/guide/development) |
### Protocol Specifications
diff --git a/docs/README.md b/docs/README.md
index cf90bf19e..54bfd25d7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,7 +4,7 @@
- For Java Object Graph Guide, see [java serialization
guide](guide/java_serialization_guide.md) doc.
- For Row Format Guide, see [row format guide](guide/row_format_guide.md) doc.
- For Scala Guide, see [scala guide](guide/scala_guide.md) doc.
-- For using Apache Foryโข with GraalVM native image, see [graalvm
support](guide/java/graalvm_support.md) doc.
+- For using Apache Foryโข with GraalVM native image, see [graalvm
support](guide/java/graalvm-support.md) doc.
## Fory IDL Schema
diff --git a/docs/guide/java/graalvm_support.md
b/docs/guide/java/graalvm-support.md
similarity index 100%
rename from docs/guide/java/graalvm_support.md
rename to docs/guide/java/graalvm-support.md
diff --git a/docs/guide/java/index.md b/docs/guide/java/index.md
index 95eccf6e2..baf60f741 100644
--- a/docs/guide/java/index.md
+++ b/docs/guide/java/index.md
@@ -209,4 +209,4 @@ ThreadSafeFory threadLocalFory = Fory.builder()
- [Type Registration](type-registration.md) - Class registration and security
- [Custom Serializers](custom-serializers.md) - Implement custom serializers
- [Cross-Language Serialization](cross-language.md) - Serialize data for other
languages
-- [GraalVM Support](graalvm_support.md) - Build-time serializer compilation
for native images
+- [GraalVM Support](graalvm-support.md) - Build-time serializer compilation
for native images
diff --git a/docs/guide/java/object-copy.md b/docs/guide/java/object-copy.md
index c0fd4f51e..6a6d735ef 100644
--- a/docs/guide/java/object-copy.md
+++ b/docs/guide/java/object-copy.md
@@ -287,6 +287,8 @@ When a type already uses a custom serializer, override
`Serializer.copy(...)` fo
```java
import org.apache.fory.config.Config;
import org.apache.fory.context.CopyContext;
+import org.apache.fory.context.ReadContext;
+import org.apache.fory.context.WriteContext;
import org.apache.fory.serializer.Serializer;
public final class EnvelopeSerializer extends Serializer<Envelope> {
@@ -304,12 +306,12 @@ public final class EnvelopeSerializer extends
Serializer<Envelope> {
}
@Override
- public void write(org.apache.fory.context.WriteContext writeContext,
Envelope value) {
+ public void write(WriteContext writeContext, Envelope value) {
throw new UnsupportedOperationException("omitted");
}
@Override
- public Envelope read(org.apache.fory.context.ReadContext readContext) {
+ public Envelope read(ReadContext readContext) {
throw new UnsupportedOperationException("omitted");
}
}
diff --git a/java/README.md b/java/README.md
index 57ef4aa05..4d7f7c28f 100644
--- a/java/README.md
+++ b/java/README.md
@@ -39,7 +39,7 @@ Apache Foryโข Java provides blazingly-fast serialization for
the Java ecosystem
| Topic | Description | Source Doc Link
| Website Doc Link
|
| --------------------------- | -------------------------- |
------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------
|
| **Java Serialization** | Comprehensive usage guide |
[java_serialization_guide.md](../docs/guide/java_serialization_guide.md)
| [Java Serialization
Guide](https://fory.apache.org/docs/docs/guide/java_serialization) |
-| **GraalVM Native Image** | Native image support |
[graalvm_support.md](../docs/guide/java/graalvm_support.md)
| [GraalVM Support](https://fory.apache.org/docs/guide/java/graalvm_support)
|
+| **GraalVM Native Image** | Native image support |
[graalvm-support.md](../docs/guide/java/graalvm-support.md)
| [GraalVM Support](https://fory.apache.org/docs/guide/java/graalvm_support)
|
| **Java Serialization Spec** | Protocol specification |
[java_serialization_spec.md](../docs/specification/java_serialization_spec.md)
| [Java Serialization
Spec](https://fory.apache.org/docs/specification/fory_java_serialization_spec) |
| **Java Benchmarks** | Performance data and plots |
[java/README.md](../docs/benchmarks/java/README.md)
| [Java Benchmarks](https://fory.apache.org/docs/benchmarks/java)
|
@@ -348,7 +348,7 @@ mvn package -Pnative
./target/my-app
```
-See [GraalVM Support](../docs/guide/java/graalvm_support.md) for details.
+See [GraalVM Support](../docs/guide/java/graalvm-support.md) for details.
## Development
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]