-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Avoid using internal API from package org.graalvm.nativeimage.impl
#28093
Avoid using internal API from package org.graalvm.nativeimage.impl
#28093
Conversation
2754c50
to
ceddfa0
Compare
The removal of the remaining usages requires upstream changes, see oracle/graal#5013. |
This comment has been minimized.
This comment has been minimized.
ceddfa0
to
930d0ab
Compare
This comment has been minimized.
This comment has been minimized.
@jerboaa can you please review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but @jerboaa should have a second look since he was involved in the original discussions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good. I think one unintentional change from runtime->buildtime sneaked in, though.
extensions/awt/runtime/src/main/java/io/quarkus/awt/runtime/graal/DarwinAwtFeature.java
Outdated
Show resolved
Hide resolved
Stops using the internal methods from the `org.graalvm.nativeimage.impl` package.
Removes use of internal API
Since `RuntimeResourceAccess#addResourceBundle` requires a module to be passed to it we pass the unnamed module by default and extend `NativeImageResourceBundleBuildItem` to include a module name for specifying one when needed, e.g., for JDK internal resources.
930d0ab
to
a5c2014
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes issues introduced in #28093
Fixes issues introduced in quarkusio#28093 (cherry picked from commit ea67abe)
Fixes issues introduced in quarkusio#28093
Fixes issues introduced in quarkusio#28093
Fixes issues introduced in quarkusio#28093
Fixes issues introduced in quarkusio#28093
Fixes issues introduced in quarkusio#28093
As discussed in #27728 (comment)