-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Enable xstream based tests on JDK 16+ #17091
Comments
I'll have a look at whether this still happens with xstream |
This unfortunately still fails with xstream 1.5.0-SNAPSHOT: x-stream/xstream#253 /cc @geoand |
😢 |
Ok, I found some workarounds: x-stream/xstream#253 (comment) Will send a PR to re-enable the tests on Java 16. But this won't help users of Quarkus, I'm afraid. |
@geoand @stuartwdouglas I'm not that familiar with the classloading in Quarkus. The xstream maintainer is assuming that "You run XStream in the ModulePath": x-stream/xstream#253 (comment) |
We do not do anything with the module path, it's all classpath |
Ok, that's what I was suspecting. Thanks for confiming! |
Update to a xstream version that fixes the illegal access problems and revert 7d4bec1 (⚠️
surefire.argLine.additional
should stay!).Relates to #16195.
sdk
)--add-opens java.base/java.util=ALL-UNNAMED
toMAVEN_OPTS
mvn -Dquickly -T1C
mvn clean verify -f integration-tests/main
(should not fail)mvn clean verify -f integration-tests/main -P'!jdk16-workarounds'
(should fail)The text was updated successfully, but these errors were encountered: