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

[Java] Consider warnings as errors for C Module #44011

Closed
Tracked by #43941
vibhatha opened this issue Sep 9, 2024 · 1 comment
Closed
Tracked by #43941

[Java] Consider warnings as errors for C Module #44011

vibhatha opened this issue Sep 9, 2024 · 1 comment

Comments

@vibhatha
Copy link
Collaborator

vibhatha commented Sep 9, 2024

Describe the enhancement requested

As discussed in #43941, the c module needs to be configured to show all warnings as errors.

Component(s)

Java

@vibhatha vibhatha self-assigned this Sep 9, 2024
lidavidm pushed a commit that referenced this issue Sep 10, 2024
### Rationale for this change

This PR configs the build such that warnings are considered as errors in the C 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: #44011

Authored-by: Vibhatha Lakmal Abeykoon <[email protected]>
Signed-off-by: David Li <[email protected]>
@lidavidm lidavidm added this to the 18.0.0 milestone Sep 10, 2024
@lidavidm
Copy link
Member

Issue resolved by pull request 44012
#44012

khwilson pushed a commit to khwilson/arrow that referenced this issue Sep 14, 2024
…he#44012)

### Rationale for this change

This PR configs the build such that warnings are considered as errors in the C 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#44011

Authored-by: Vibhatha Lakmal Abeykoon <[email protected]>
Signed-off-by: David Li <[email protected]>
zeroshade pushed a commit to zeroshade/arrow that referenced this issue Sep 30, 2024
…he#44012)

### Rationale for this change

This PR configs the build such that warnings are considered as errors in the C 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#44011

Authored-by: Vibhatha Lakmal Abeykoon <[email protected]>
Signed-off-by: David Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants