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 11 support #955

Closed
5 of 12 tasks
schabdo opened this issue Mar 31, 2020 · 3 comments
Closed
5 of 12 tasks

Java 11 support #955

schabdo opened this issue Mar 31, 2020 · 3 comments
Labels

Comments

@schabdo
Copy link
Contributor

schabdo commented Mar 31, 2020

As Java 8-10 will be obsolete soon, hawkBit has to support Java 11

Preconditions

ToDo

@schabdo schabdo added the task label Mar 31, 2020
@bantu
Copy link

bantu commented Aug 18, 2020

Attempting to compile master at eae34e6 using the compiler provided by the openjdk-11-jdk Debian 10 package fails with

[INFO] Compiling module org.eclipse.hawkbit.ui.AppWidgetSet
[INFO]    [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core' either directly or indirectly (most often by inheriting module 'com.google.gwt.user.User')

On closer inspection this seems to be caused by GWT.

Maybe the Java 8 source code can be compiled using OpenJDK 11 after updating GWT. This would be a first step towards moving to Java 11 entirely.

@schabdo
Copy link
Contributor Author

schabdo commented Sep 24, 2020

Exactly! I already prepared some stuff to achieve exactly what you're proposing (cf. #674). However back in the days (as you mentioned) Vaadin 7 was always the show-stopper. Since a couple of days master is on Vaadin 8, we are one step further: Now WidgetSet could be complied based on JDK 11 (with source level to 1.8). However it seems that the XML bind dependency/module is missing for the tests:

[ERROR] javax/xml/bind/annotation/XmlElement
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] javax/xml/bind/annotation/XmlElement
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:656)

@avgustinmm
Copy link
Contributor

Obsolete, hawkBit is supporting Java17 already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants