Skip to content

MOE Sync 2020-07-09#1359

Merged
kevinb9n merged 1 commit intomasterfrom
sync-master-2020/07/09
Jul 10, 2020
Merged

MOE Sync 2020-07-09#1359
kevinb9n merged 1 commit intomasterfrom
sync-master-2020/07/09

Conversation

@kevinb9n
Copy link
Copy Markdown

@kevinb9n kevinb9n commented Jul 9, 2020

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:

Import https://github.com//pull/1298

Replace CGLIB with custom code to generate "enhancers" and "fast-classes".

Some user visible changes from using cglib:

  • intercepted method that has a return type of int but returns null from the interceptor will no longer be automatically converted to 0, instead a NullPointerException will be thrown.
  • Scope implementation can no longer check for circular proxy instance using CircularDependencyProxy marker class, instead should use Scopes.isCircularProxy
  • Depending on which custom class loading option is used, Guice enhanced class may no longer be mockable/spyable
  • Generated class name is slightly longer.

Closes #1298

2d867c5

Replace CGLIB with custom code to generate "enhancers" and "fast-classes".

Some user visible changes from using cglib:
- intercepted method that has a return type of int but returns null from the interceptor will no longer be automatically converted to 0, instead a NullPointerException will be thrown.
- Scope implementation can no longer check for circular proxy instance using CircularDependencyProxy marker class, instead should use Scopes.isCircularProxy
- Depending on which custom class loading option is used, Guice enhanced class may no longer be mockable/spyable
- Generated class name is slightly longer.

Closes #1298

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=320433559
@googlebot
Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@mcculls
Copy link
Copy Markdown
Contributor

mcculls commented Jul 9, 2020

@googlebot I consent.

@googlebot
Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes and removed cla: no labels Jul 9, 2020
@kevinb9n kevinb9n merged commit 85e30be into master Jul 10, 2020
@kevinb9n kevinb9n deleted the sync-master-2020/07/09 branch July 10, 2020 15:43
@mkurz
Copy link
Copy Markdown
Contributor

mkurz commented Jul 10, 2020

@kevinb9n @mcculls I guess this finally fixes #1133 and can therefore be closed?
Any ETA when a new release with this sync here will be available?

@mkurz
Copy link
Copy Markdown
Contributor

mkurz commented Aug 19, 2020

@kevinb9n @mcculls @sameb Can you please give a short update when do you think the next Guice release will be cut? Are there any plans?

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.

4 participants