Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moe Sync #675

Merged
merged 3 commits into from
Nov 6, 2018
Merged

Moe Sync #675

merged 3 commits into from
Nov 6, 2018

Conversation

ronshapiro
Copy link
Contributor

This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.

Commits:

Separate AutoService annotations and processor

Fixes #632

RELNOTES=@AutoService now has a separate artifact (auto-service-annotations) separate from the annotation processor (still auto-service)

abf766b


Enable a test for a bug that's been fixed for a while

0ceb424


Adds the transient modifier to the cache field. This tells serialization to avoid serializing such fields. Not having this causes serialization to be nondeterministic, depending on whether or not the memoized accessor has been called.

This is more robust than depending on the @lazyinit annotation, which the processor sometimes can't find.

RELNOTES=none

54ca2b7

ronshapiro and others added 3 commits November 6, 2018 15:41
Fixes #632

RELNOTES=`@AutoService` now has a separate artifact (`auto-service-annotations`) separate from the annotation processor (still `auto-service`)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219696198
RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219712298
to avoid serializing such fields. Not having this causes serialization
to be nondeterministic, depending on whether or not the memoized accessor has
been called.

This is more robust than depending on the @lazyinit annotation, which the processor sometimes can't find.

RELNOTES=none

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=220301585
@ronshapiro ronshapiro merged commit 1820660 into master Nov 6, 2018
@ronshapiro ronshapiro deleted the sync-master-2018/11/06 branch November 6, 2018 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate annotation from processor on AutoService
3 participants