| Summary: | Move platform build to Java 11 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
| Component: | Releng | Assignee: | Platform-Releng-Inbox <platform-releng-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, christian.dietrich.opensource, Lars.Vogel, loskutov |
| Version: | 4.10 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 541403 | ||
| Bug Blocks: | 541433 | ||
|
Description
Lars Vogel
(In reply to Lars Vogel from comment #0) > Java 11 is not the officially supported Java version from Oracle. I suggest > moving our Platform build to Java 11. Probably Java 8 is meant as not supported above. Well, Red Hat supports Java 8 with OpenJDK till 2023 (https://access.redhat.com/articles/1299013), and most of the people are still on 8 or even below: https://snyk.io/blog/jvm-ecosystem-report-2018. JDK 9 + 10 + 11 use according to that survey is only about 8%. JDK 8 alone is 79. So where is our user base? Interestingly enough, the article in Java Magazine, which is based on the survey results above, omit to mention exact that, IMHO one of the most important metric: http://www.javamagazine.mozaicreader.com/NovemberDecember2018/Default/15/0#&pageSet=15&page=0&contentItem=0. (In reply to Andrey Loskutov from comment #1) > So where is our user base? The discussion here should be about building with a JDK 11. It does not mean that we move the platform requirement to Java 11. Updating the build version would allow using Java 11 BREE test plug-ins. This would not affect the minimum Java version required for the Eclipse IDE. I think what Lars proposed having the build itself be run with Java 11. As our builds useJDK=BREE this should not result in any change to the bundles in the same way we have bundles with Java 1.7 BREE but build with Java 11. This has nothing to do with the target level of the bundles produced. With that said we have to wait for bug 541403 to be fixed at least before considering such a move. (In reply to Alexander Kurtakov from comment #3) > I think what Lars proposed having the build itself be run with Java 11. As > our builds useJDK=BREE this should not result in any change to the bundles > in the same way we have bundles with Java 1.7 BREE but build with Java 11. > This has nothing to do with the target level of the bundles produced. OK. So we build with target 8 but run with 11. Right now we run tests in one extra GTK3 build with 11, and all three platforms tests with 8. So the proposal here is to switch this and to have tests running on all 3 platforms with 11 and one extra GTK3 build with 8. > With that said we have to wait for bug 541403 to be fixed at least before > considering such a move. I think we also need to wait until we have stabilized our tests on 11, right now the diff is about ~30 extra tests failing on 11. > I think we also need to wait until we have stabilized our tests on 11, right
> now the diff is about ~30 extra tests failing on 11.
+1
(In reply to Lars Vogel from comment #5) > > I think we also need to wait until we have stabilized our tests on 11, right > > now the diff is about ~30 extra tests failing on 11. > > +1 https://download.eclipse.org/eclipse/downloads/drops4/I20190422-1800/testResults.php looks like the Java 11 tests are stable. I think this was done a long time ago. |