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 2020-12-11 #5354

Merged
merged 2 commits into from
Dec 11, 2020
Merged

MOE Sync 2020-12-11 #5354

merged 2 commits into from
Dec 11, 2020

Conversation

kluever
Copy link
Member

@kluever kluever commented Dec 11, 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:

Correct a typo and some odd phrasing in the first paragraph of the javadoc for SmoothRateLimiter.

8d571ca


Log a warning if running under a Java 7 VM.

More precisely, log a warning if lambda expressions or type annotations in our classes would produce an exception. If someone wants to use Retrolambda or a similar tool to rewrite our classes, that's fine with us if it works. And our support for Android is unchanged: The Android toolchain rewrites lambdas and removes type annotations.

This is a step toward removing Java 7 support entirely: #5269

RELNOTES=Introduced a warning log message when running under Java 7. This warning is not guaranteed to be logged when running under Java 7, so please don't rely on it as your only warning about future problems. If the warning itself causes you trouble, you can eliminate it by silencing the logger for com.google.common.base.MoreObjects$ToStringHelper (which is used only for this warning). This warning prepares for removing support for Java 7 in 2021. Please report any problems.

0357006

cdberry-zz and others added 2 commits December 11, 2020 10:41
…vadoc for SmoothRateLimiter.

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=346781263
More precisely, log a warning if lambda expressions or type annotations in our classes would produce an exception. If someone wants to use Retrolambda or a similar tool to rewrite our classes, that's fine with us if it works. And our support for Android is unchanged: The Android toolchain rewrites lambdas and removes type annotations.

This is a step toward removing Java 7 support entirely: #5269

RELNOTES=Introduced a warning log message when running under Java 7. This warning is not _guaranteed_ to be logged when running under Java 7, so please don't rely on it as your only warning about future problems. If the warning _itself_ causes you trouble, you can eliminate it by silencing the logger for `com.google.common.base.MoreObjects$ToStringHelper` (which is used _only_ for this warning). This warning prepares for [removing support for Java 7 in 2021](#5269). Please report any problems.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=346795766
@kluever kluever added the internal-sync A PR that represents a push from Google's internal repo label Dec 11, 2020
@google-cla google-cla bot added the cla: yes label Dec 11, 2020
@kluever kluever merged commit dc52e6e into master Dec 11, 2020
@kluever kluever deleted the sync-master-2020/12/11 branch December 11, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes internal-sync A PR that represents a push from Google's internal repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants