-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
bnd-testing-maven-plugin
fails with Java 24
#6370
Comments
bnd-testing-maven-plugin
failing with Java 24bnd-testing-maven-plugin
fails with Java 24
Code:
I think this is related to: The fastest solution would be to some RunProperties ad describes in the jep. '-D.....' But we will have this in every use of the Launcher. So i hope @pkriens has better solution @timothyjward this tests are there because of osgi-test |
Thanks for the quick feedback, @stbischof!
Could you please elaborate on the workaround you have in mind? I didn't fully understand what you meant and couldn't figure it out by going through the JEP. |
Can't just remove that line?
bnd is officially on Java17 and Policy deprecated for removal. @pkriens ? |
It’s good that we have these tests, but in this case it’s very much the maven plugin that’s the issue. Everyone’s tests will be broken on Java 24.
I agree with @chrisrueger - we should also add Java 24 to the CI build matrix and see what else breaks. |
I created #6371 which is currently building.
Unfortunatelly Java 24 seems still early access and it didn't work with Github Actions (seems 23 is the latest). If anybody can tell me how to add it, I can do it. |
According to the docs it should be |
Thanks. Looks like this worked and it is using Java 24-ea now.
Maybe gradle is not Java 24 ready yet? Hmm will look into it later. |
Certainly possible, but I’m sure that other parts of bnd (e.g. the analyzer) will need some tweaks too. |
In AssertJ, we use the
bnd-testing-maven-plugin
for OSGi integration tests, and the plugin started failing today when running on Java 24:Source: https://github.com/assertj/assertj/actions/runs/11846157794/job/33013148936#step:4:8886
Do you know what the root cause could be?
The text was updated successfully, but these errors were encountered: