Skip to content

Conversation

graalvmbot
Copy link
Collaborator

Currently, native-image sometimes adds additional entries on the application module path, which we don't want to parse with the DynamicAccessAnalysisPhase. In this PR, we filter out the non-user class and module path entries collected by -H:TrackDynamicAccess=all.

Also in this PR, we make the method com.oracle.svm.hosted.NativeImageClassLoaderSupport#getModulePathsFinder public, so we can use it to resolve module path entries, given their module names, outside of NativeImageClassLoaderSupport.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 17, 2025
@graalvmbot graalvmbot merged commit 9df1ea1 into master Sep 17, 2025
13 checks passed
@graalvmbot graalvmbot deleted the jvukicev/GR-68445 branch September 17, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants