Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d4c89a5

Browse filesBrowse 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
Copy full SHA for d4c89a5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: contents/what-is-a-serialversionuid-and-why-should-i-use-it.md
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.