You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Java] ErrorProne Warnings to be considered as Errors #59
Even though we have integrated the ErrorProne module in each module, we still see iterative development cycle introduces more warnings, and to avoid this it would be better to error them so that in the development time these are properly tracked and addressed. This must be done for each module.
For instance, the available flags don't seem to have something like an error warning, rather it has -XepAllErrorsAsWarnings. Not sure if we have an option the other way around? But we can do it manually for each category of warnings like -Xep:MissingOverride:ERROR. But this requires making a list of items that may not cover all the angles we hope for. Still needs further investigation...
Um, (1) warnings-as-errors is just a javac option (2) my original concern wasn't about the errorprone warnings, it was just about the regular javac deprecation warnings.
I see, I have misunderstood it. Either way, I will make the improvements on both fronts as required. And I will investigate about (1) and how to add that.
Activity
vibhatha commentedon Sep 5, 2024
@lidavidm looking into the available flags we do have the following https://errorprone.info/docs/flags
For instance, the available flags don't seem to have something like an error warning, rather it has
-XepAllErrorsAsWarnings. Not sure if we have an option the other way around? But we can do it manually for each category of warnings like-Xep:MissingOverride:ERROR. But this requires making a list of items that may not cover all the angles we hope for. Still needs further investigation...lidavidm commentedon Sep 5, 2024
Um, (1) warnings-as-errors is just a javac option (2) my original concern wasn't about the errorprone warnings, it was just about the regular javac deprecation warnings.
vibhatha commentedon Sep 5, 2024
I see, I have misunderstood it. Either way, I will make the improvements on both fronts as required. And I will investigate about (1) and how to add that.