Skip to content

Commit

Permalink
Update java_serialization_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orisgarno authored Jan 6, 2025
1 parent 3a77a28 commit ff1ab72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/java_serialization_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ serialization error, it may be caused by class inconsistency between serializati

If you create fury and set `CompatibleMode` to `org.apache.fury.config.CompatibleMode.COMPATIBLE`, you need to register
the class that you want to serialize or deserialize(You don't need to register any class inside that class).
[See example here](https://github.com/apache/fury/blob/main/java/fury-core/src/test/java/org/apache/fury/serializer/compatible/CompatibleSerializerTest.java)
[See example here](java/fury-core/src/test/java/org/apache/fury/serializer/compatible/CompatibleSerializerTest.java)

In such cases, you can invoke `FuryBuilder#withClassVersionCheck` to create fury to validate it, if deserialization
throws `org.apache.fury.exception.ClassNotCompatibleException`, it shows class are inconsistent, and you should create
Expand Down

0 comments on commit ff1ab72

Please sign in to comment.