Skip to content

[BEAM-5176] remove preconfigured '-Xlint:deprecation' from compilerArgs#6831

Merged
kennknowles merged 1 commit intoapache:masterfrom
adude3141:BEAM-5176-failOnWarnings-behave-differently-between-CLI-and-Intellij-build
Oct 25, 2018
Merged

[BEAM-5176] remove preconfigured '-Xlint:deprecation' from compilerArgs#6831
kennknowles merged 1 commit intoapache:masterfrom
adude3141:BEAM-5176-failOnWarnings-behave-differently-between-CLI-and-Intellij-build

Conversation

@adude3141
Copy link
Contributor

Intellij adds -Xlint:deprecation as JavaCC option if run from menu. This clashes with our failOnWarnings configuration done in BeamModulePlugin

This PR removes that preconfigured option, as we do default to disabled deprecation warnings.

See also jira issue [1] and corresponding IntelliJ issue [2]

[1] https://issues.apache.org/jira/browse/BEAM-5176
[2] https://youtrack.jetbrains.com/issue/IDEA-196615

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

@adude3141
Copy link
Contributor Author

R: @kennknowles PTAL, as jira is assigned to you

FYI: @echauchot

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I know at least a few people who have spent time on this and not gotten a solution.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the most useful link here might be https://youtrack.jetbrains.com/issue/IDEA-196615, but let's just interlink them and all that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about that, u are probably right. Should we change and force-push here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that would be fine. As it is just a comment change I won't have to wait another hour for tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kennknowles
Copy link
Member

I'll just let the java PreCommit run, then merge.

@adude3141 adude3141 force-pushed the BEAM-5176-failOnWarnings-behave-differently-between-CLI-and-Intellij-build branch from ff0ab3e to 24cbcca Compare October 25, 2018 17:40
@kennknowles kennknowles merged commit 1adb64d into apache:master Oct 25, 2018
@echauchot
Copy link
Contributor

@adude3141 well done ! Thanks for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments