-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
JDK11 / compile failures #6334
Comments
I think it's caused by the Jollyday upgrade (openhab/openhab-core#1170). |
How ugly. What can we do? |
I think it's only a compile time issue because the Jollyday bundle starts without issues on Java 11 and Karaf has a newer version in
|
Do you have time/plans to look into this issue @J-N-K or @cweitkamp? We could also downgrade Jollyday again for the time being until someone has time to look into this. |
Maybe removing the Java11 compilation on Travis could also be a temporary workaround? |
I actually recently switched to building everything Java 11 on my desktop so it's easier to push openhab/openhab-distro#768 forwards. So this issues forces me back to Java 8. 😢 |
We made a lot of efforts to get it running on JDK11, I would strongly vote against removing that. I‘ll probably be able to have a look on Sunday. |
There problem is that 2.3 is not running on JDK8 (at least the last time I checked). |
It is just currently painful for all contributors that the Travis check fails, although nothing is wrong with their PRs. If we disable it only for 2 days until the JDK11 issue is solved, it would imho still be helpful for the community (see https://github.com/openhab/openhab2-addons/pull/2531#issuecomment-551438602). |
From my point of view it's better to revert the PR causing this issue again for a couple of days. |
I tried to look into it yesterday evening. But my new development environment was not prepared for Java 11. After setting it up my first steps were to investigate on the failing OHC tests for the Ephemeris bundle (see https://travis-ci.org/openhab/openhab-core/jobs/609155620?utm_medium=notification&utm_source=github_status) - which is probably related to the bump of the Jollyday library too. I did not find a working solution yet other than downgrading Jollyday again. I am sorry. I completely missed their integration of the different JAXB dependencies. |
So anybody wants to create a revert PR for it then? |
I was already working on it. |
Jollyday requires JAXB 2.3 on Java 11 whereas only 2.2 is available during compilation for Java 8 compatibility. See also: * https://github.com/openhab/openhab2-addons/issues/6334 * openhab#1170 * openhab#1169 Signed-off-by: Wouter Born <[email protected]>
Jollyday requires JAXB 2.3 on Java 11 whereas only 2.2 is available during compilation for Java 8 compatibility. See also: * https://github.com/openhab/openhab2-addons/issues/6334 * #1170 * #1169 Signed-off-by: Wouter Born <[email protected]>
Build is working again after openhab/openhab-core#1195 and #6359. |
A lot of the Travuis JDK11 builds fail recently in avmfritz. The reason is that bnd adds jaxb 2.3 as import, while we provide 2.2 in our feature. This can be fixed by adding the 2.2 bundles as dependencies to the binding pom, however I do not understand where 2.3 comes from and why the 2.2 in our core-compile-bom is ignored.
mvn dependency:tree
does not show the 2.3 dependency, only the 2.2. Did we upgrade something that might have introduced 2.3 recently? Any ideas?The text was updated successfully, but these errors were encountered: