-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-44016: [Java] Consider warnings as errors for Format Module #44017
GH-44016: [Java] Consider warnings as errors for Format Module #44017
Conversation
|
@@ -15,6 +15,7 @@ | |||
* limitations under the License. | |||
*/ | |||
|
|||
@SuppressWarnings({ "requires-automatic", "requires-transitive-automatic" }) |
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.
@lidavidm is this acceptable?
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.
I thought we upgraded flatbuffers to avoid this?
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.
@danepitkin we did an update recently?
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.
We created a PR in flatbuffers, but it hasn't been reviewed yet. google/flatbuffers#8367
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.
Typical Google project. Well, that means this sorta defeats the purpose of modularization in the first place, but I suppose there's no alternative.
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.
Let's link to the Flatbuffers issue and clearly note that it's Google's problem here
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.
Sure, I will do that.
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.
Added a comment by linking https://github.com/apache/arrow/issues/44037
@@ -15,6 +15,7 @@ | |||
* limitations under the License. | |||
*/ | |||
|
|||
@SuppressWarnings({ "requires-automatic", "requires-transitive-automatic" }) |
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.
We created a PR in flatbuffers, but it hasn't been reviewed yet. google/flatbuffers#8367
Co-authored-by: David Li <[email protected]>
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 22a4496. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…pache#44017) ### Rationale for this change This PR configs the build such that warnings are considered errors in the Format module. And corresponding code changes have also been made. ### What changes are included in this PR? Adding flags to consider warnings as errors in javac and fixing the corresponding errors. ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? N/A * GitHub Issue: apache#44016 Lead-authored-by: Vibhatha Lakmal Abeykoon <[email protected]> Co-authored-by: Vibhatha Lakmal Abeykoon <[email protected]> Co-authored-by: David Li <[email protected]> Signed-off-by: Dane Pitkin <[email protected]>
…pache#44017) ### Rationale for this change This PR configs the build such that warnings are considered errors in the Format module. And corresponding code changes have also been made. ### What changes are included in this PR? Adding flags to consider warnings as errors in javac and fixing the corresponding errors. ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? N/A * GitHub Issue: apache#44016 Lead-authored-by: Vibhatha Lakmal Abeykoon <[email protected]> Co-authored-by: Vibhatha Lakmal Abeykoon <[email protected]> Co-authored-by: David Li <[email protected]> Signed-off-by: Dane Pitkin <[email protected]>
Rationale for this change
This PR configs the build such that warnings are considered errors in the Format module. And corresponding code changes have also been made.
What changes are included in this PR?
Adding flags to consider warnings as errors in javac and fixing the corresponding errors.
Are these changes tested?
Tested by existing test cases.
Are there any user-facing changes?
N/A