-
Notifications
You must be signed in to change notification settings - Fork 1.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
[GR-40187] Dectect invalid use of SVM specific classes on image class- or module-path. #5232
Conversation
…mpliant applications
@zakkak this PR will likely require changes on the quarkus side. We have identified quarkus examples that contain launcher jar files that put a graal-sdk on the classpath. This is why we have added workaround 7f83c75 in here. It runs those quarkus examples with For example the There must not be a |
Thanks for the heads up @olpaw. I started a CI run with this branch to see how many of the integration tests it affects. |
In preparation for oracle/graal#5232
In preparation for oracle/graal#5232
@olpaw quarkusio/quarkus#28650 seems to do the trick for Quarkus. Thanks again for the heads up. |
💯 Thanks a lot! |
Sometimes projects falsely depend on
svm.jar
(orgraal-sdk.jar
) or transitively include svm classes in uber-jars. This also happens e.g. when a Maven projects depends onsvm.jar
but does not specify it as a dependency of typeprovided
.To better detect such misuse and to allow users to better understand what is wrong we make our
com.oracle.svm.hosted.NativeImageSystemClassLoader
able to detect such cases.