Skip to content

Commit eae0527

Browse files
committed
Update what-is-a-serialversionuid-and-why-should-i-use-it.md
1 parent 7856e30 commit eae0527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/what-is-a-serialversionuid-and-why-should-i-use-it.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void testversion1LWithExtraEmail() throws Exception {
127127
private static final long serialVersionUID = 2L;
128128
```
129129

130-
再次进行序列化,则会报错,如下:
130+
再次进行反序列化,则会报错,如下:
131131
```
132132
java.io.InvalidClassException:Person local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2
133133
```

0 commit comments

Comments
 (0)