Skip to content

Commit d4c89a5

Browse files
committed
Merge pull request giantray#47 from wjk20120522/patch-1
Update what-is-a-serialversionuid-and-why-should-i-use-it.md
2 parents ee5bfae + eae0527 commit d4c89a5

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)