forked from google/auto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Serializable and Memoized extensions work together.
The Serializable extension has to call the constructor of the AutoValue class as part of its implementation of `readResolve`. The class whose constructor is called must be the *final* one in the chain of subclasses generated by extensions. That is not necessarily the subclass generated by the Serializable extension. RELNOTES=Fixed an issue when Serializable and Memoized extensions are used together. PiperOrigin-RevId: 430458407
- Loading branch information
1 parent
d11a8a7
commit e01968d
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters