-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrade Error Prone 2.33.0 -> 2.35.1 #1363
Conversation
Suggested commit message:
|
a48f0b6
to
c683799
Compare
Looks good. No mutations were possible for these changes. |
1 similar comment
Looks good. No mutations were possible for these changes. |
pom.xml
Outdated
<!-- This check flags bad member names, but | ||
also perfectly fine type names. Consider | ||
enabling it. --> | ||
-Xep:IdentifierName:OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to do this in this PR.
pom.xml
Outdated
<!-- XXX: Drop! This is a test. --> | ||
<arg>--should-stop=ifError=INIT</arg> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is me testing the changes for google/error-prone#4595. The build passes both without this flag and with INIT
, which based on the release notes shouldn't happen. (When I replace INIT
with a bogus value the compiler does complain, so the flag is not ignored.)
It appears that the issue is that flag validation happens here, while ErrorProneJavacPlugin
bypasses that logic by directly invoking this method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ Follow-up here.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
c683799
to
0d3311b
Compare
Quality Gate passedIssues Measures |
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and added a commit; bumped the version. I propose that we update the compatibility matrix after the upcoming Error Prone Support release.
This PR contains the following updates:
2.33.0
->2.34.0
2.33.0
->2.34.0
Release Notes
google/error-prone (Error Prone)
v2.34.0
: Error Prone 2.34.0Compare Source
Changes:
--should-stop=ifError=FLOW
is now required when running Error Prone (#4595)MemberName
check was renamed toIdentifierName
New checks:
FutureTransformAsync
: The usage of transformAsync is not necessary when all the return values of the transformation function are immediate futures.MisformattedTestData
: Reformats Java source code inside Error Prone test cases.MisleadingEscapedSpace
: Using\s
anywhere except at the end of a line in a text block is potentially misleading.ThrowIfUncheckedKnownUnchecked
:throwIfUnchecked(knownUnchecked)
is equivalent tothrow knownUnchecked
.Closed issues: #4595, #4598, #4620
Full changelog: google/error-prone@v2.33.0...v2.34.0