-
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
Provide API for further use of non-API methods in Quarkus #5013
Comments
Regarding We do not want to make that public API as it violates composability of the resource inclusion in native-image configuration metadata. There a several options to cope with that:
|
We have removed the invocations to Is there any feedback regarding |
|
@christianwimmer apparently that's not true for classes explicitly set for build time initialization (the default for all classes in Quarkus). Such classes still require explicit registration for runtime initialization. As a result Quarkus still depends on |
@zakkak with the new class initialization policy, With https://github.com/oracle/graal/pull/8323/files#diff-3c452e61cb9ddfbab251a9aa0a134b4c0be47a0ec39020eee896e97a3ef5e2f1R55 |
Oh, I didn't understand that. Thanks @christianwimmer, that seems to do the trick. |
They both have the same result starting with 23.1. Runtime initialization is public API while rerun is not, and will soon be deprecated and at some point removed in future releases. See oracle/graal#5013 (comment) and oracle/graal#8323
Describe the issue
Quarkus still depends on some Classes/Methods under the package
org.graalvm.nativeimage.impl
which do not appear to have obvious alternatives at the moment. These are:org.graalvm.nativeimage.impl.RuntimeResourceSupport#ignoreResources
org.graalvm.nativeimage.impl.RuntimeClassInitializationSupport#rerunInitialization
Relates to #4919
cc @olpaw
The text was updated successfully, but these errors were encountered: