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 #1240

Merged
merged 10 commits into from
Apr 9, 2019
Merged

Moe Sync #1240

merged 10 commits into from
Apr 9, 2019

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:

Change infrastructure to allow using java8-isms.

fd04a9e


Some more infrastructure changes to work w/ java8 code. Namely, neuter ant so that we don't use it for anything other than javadoc & jdiff. A few of the libraries it depended on (jarjar, bnd) didn't work with java8 code. We don't really need ant (we just use it for javadocs & jdiffs right now, and theoretically those could move to mvn too if someone figures out how to do that).

c09ba1d


Refactor code to use java8-isms.

Generated with refaster, with some manual touch-ups afterwards.

37255a2


Stop using reflection to handle java.util.Optional in OptionalBinder-related code.

e27d4c0


Stop using reflection to access MethodHandle MethodHandles.Lookups. Continue using reflection to access the private constructor for MethodHandles.Lookups. See https://github.com//issues/904 for more information on why we need that particular bit of reflection.

5058704


Automated rollback of commit 37255a2

*** Original change description ***

Refactor code to use java8-isms.

Generated with refaster, with some manual touch-ups afterwards.


32fef20


Roll forward of 37255a2

Automated rollback of changelist 32fef20

*** Original change description ***

Automated rollback of commit 37255a2

*** Original change description ***

Refactor code to use java8-isms.

Generated with refaster, with some manual touch-ups afterwards.

3f0dbb8


Refactor exception-message assertions to use ThrowableSubject.hasMessageThat(). This replaces assertions of the form assertThat(e).hasMessage(...) and assertThat(e.getMessage()) with assertThat(e).hasMessageThat().

70552b0


Add an Injector#getAllMembersInjectorInjectionPoints method.

a6293fb


Add a note in isTransparentProvider that folks who trace through the code & detect that their binding isn't working because of this call should use @Bind(lazy=true) instead.

7e7ac3e

sameb and others added 10 commits April 7, 2019 19:00
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=237860437
…r ant so that we don't use it for anything other than javadoc & jdiff. A few of the libraries it depended on (jarjar, bnd) didn't work with java8 code. We don't really need ant (we just use it for javadocs & jdiffs right now, and theoretically those could move to mvn too if someone figures out how to do that).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238041337
Generated with refaster, with some manual touch-ups afterwards.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238042288
…related code.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238113224
…ontinue using reflection to access the private constructor for MethodHandles.Lookups. See #904 for more information on why we need that particular bit of reflection.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238113953
*** Original change description ***

Refactor code to use java8-isms.

Generated with refaster, with some manual touch-ups afterwards.

***

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238342841
Automated rollback of changelist 32fef20

*** Original change description ***

Automated rollback of commit 37255a2

*** Original change description ***

Refactor code to use java8-isms.

Generated with refaster, with some manual touch-ups afterwards.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238487042
…ageThat(). This replaces assertions of the form assertThat(e).hasMessage(...) and assertThat(e.getMessage()) with assertThat(e).hasMessageThat().

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=239207405
…code & detect that their binding isn't working because of this call should use @Bind(lazy=true) instead.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=241948208
@sameb sameb merged commit 6fd2442 into master Apr 9, 2019
@sameb sameb deleted the sync-master-2019/04/07 branch April 9, 2019 14:17
@ronshapiro ronshapiro mentioned this pull request Apr 10, 2019
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.

5 participants