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 9 Support #5326

Closed
14 tasks done
gorkem opened this issue Jun 9, 2017 · 12 comments
Closed
14 tasks done

Java 9 Support #5326

gorkem opened this issue Jun 9, 2017 · 12 comments
Assignees
Labels
kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.

Comments

@gorkem
Copy link
Contributor

gorkem commented Jun 9, 2017

Study and determine the tasks for Che to fully support Java 9

Issues reported by @benoitf at date of 16 october 2017:

compiling che with Java 9 blocker :

compiling issues with Java9 : plug-Ins errors with workarounds :

Runtime

(fixed in new Tomcat release)

@slemeur slemeur added the kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. label Jun 9, 2017
@TylerJewell
Copy link

Please move each of the issues into the main description, and then create sub-tasks for each item that we should pursue.

@gorkem
Copy link
Contributor Author

gorkem commented Jul 1, 2017

@fbricon some more Java 9 stuff to follow up :)

@skabashnyuk
Copy link
Contributor

Any idea how to deal with tools.jar is referenced in debugger server (but tools.jar is gone with Java9)?

@benoitf
Copy link
Contributor

benoitf commented Sep 27, 2017

@skabashnyuk in my experiment I was able to compile debugger server without tools.jar (I kept tools.jar dependency only in a profile enabled on java 1.8)

@azatsarynnyy
Copy link
Member

FYI in Che6 we don't depend on the legacy mojo's gwt-maven-plugin anymore (which is tightly linked to a specific version of GWT). GWT 2.8.2, which supports running in Java 9, is already released.

@benoitf
Copy link
Contributor

benoitf commented Oct 20, 2017

@azatsarynnyy yep, I already filed CQs for GWT 2.8.2 https://dev.eclipse.org/ipzilla/show_bug.cgi?id=14599

@azatsarynnyy
Copy link
Member

@benoitf thanks, I've added CQ link to the issue #6859

@benoitf
Copy link
Contributor

benoitf commented Oct 23, 2017

gwt-maven-plugin has been released this week-end with the new 2.8.2 version

so now we can compile Che master 5.x with Java9 (skipping unit tests)

$ mvn -DskipTests=true -Dfindbugs.skip=true -Dgwt.compiler.localWorkers=2 -T 1C -Dgwt.compiler.enableClosureCompiler=false -Dskip-enforce -Dskip-validate-sources -Dversion.gwt.plugin=2.8.2 clean install

for Che 6.x we can as well by specifying GWT version
-Dcom.google.gwt.version=2.8.2

@benoitf
Copy link
Contributor

benoitf commented Oct 30, 2017

I'm able to use GWT 2.8.2 + gwt mockito with a fix that I've provided upstream (google/gwtmockito#73)
--> need to wait gwt mockito 1.1.8

@benoitf
Copy link
Contributor

benoitf commented Dec 18, 2017

gwt mockito released a new version including my fix.
It has been merged in che-dependencies repository
so now, Che6 branch can be compiled by using JDK 9 as it was the last missing PR

@slemeur
Copy link
Contributor

slemeur commented Feb 26, 2018

Closing :

@slemeur slemeur closed this as completed Feb 26, 2018
@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Feb 26, 2018

@slemeur: it has turned out recently that our automated functional tests don't support Java 9 (issue #8852).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.
Projects
None yet
Development

No branches or pull requests

7 participants