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

[BEAM-2530] More fixes/upgrades for Java 9 compatibility #4685

Merged
merged 8 commits into from
Feb 17, 2018

Conversation

iemejia
Copy link
Member

@iemejia iemejia commented Feb 14, 2018

Apart of the fixes it introduces an auto activated profile when using Java 9.


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

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand:
    • What the pull request does
    • Why it does it
    • How it does it
    • Why this approach
  • Each commit in the pull request should have a meaningful subject line and body.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@iemejia iemejia requested a review from kennknowles February 14, 2018 16:40
@iemejia iemejia force-pushed the BEAM-2530-java9-morefixes branch 2 times, most recently from 8c20983 to 000fc7a Compare February 16, 2018 16:36
@iemejia
Copy link
Member Author

iemejia commented Feb 16, 2018

Ok, last fixes applied, a really neat progress, notice that almost all Java 9 specific parts are hidden in self-activated profiles, its functionality should be moved into gradle when the time is appropriate. I will soon start to fill specific JIRAs for the pending breaking tests and once that the fix for classloading gets decided and merged (#4497 or #4514).
Other issue for future discussion is if we move from findbugs to spotbugs at some moment because findbugs seems really unmaintained now, so java 9 compatiblity is zero.
PTAL @kennknowles

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.

Nice. LGTM.

</activation>
<dependencies>
<!--
These deps should be explilctly defined for Java 9 compat
Copy link
Member

Choose a reason for hiding this comment

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

typo

Copy link
Member Author

Choose a reason for hiding this comment

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

thx

pom.xml Outdated
@@ -413,6 +417,61 @@
</build>
</profile>

<profile>
<id>java-next</id>
Copy link
Member

Choose a reason for hiding this comment

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

Cool name, but is there a reason for java-next instead of java-9? I actually guess that with the timelines we might be testing with Java 8, 9, 10 at the same time.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well the thing I was thinking is that we probably should define our target if we will go for the whole spectrum (9.10,11) or if we asume like the milestone will be the LTS version (11). I will rename it to 9 and we will see how we evolve it depending pn the future releases.

@iemejia iemejia force-pushed the BEAM-2530-java9-morefixes branch from 000fc7a to 38ffebb Compare February 16, 2018 21:34
@iemejia
Copy link
Member Author

iemejia commented Feb 17, 2018

retest this please

@iemejia iemejia merged commit bb98aa9 into apache:master Feb 17, 2018
@iemejia iemejia deleted the BEAM-2530-java9-morefixes branch February 20, 2018 09:40
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.

2 participants