-
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
Reachability analyzer created incorrect report #9868
Comments
@bodiam, thank you for sharing this with us! We'll take a look into this shortly and I'll make sure to keep you updated. |
Hi @bodiam, I'm not entirely sure what you mean by "I used my repo, github.com/datafaker-net/datafaker." To reproduce the issue, I created a Maven project and added the Datafaker library. I then implemented some use cases for it in my code, after which I used the tracing agent to generate the reachability-metadata. The generated file was correctly populated, and I was able to build the native image without any issues. Could you please provide the exact steps you followed to encounter the problem? That would help me assist you more effectively. Thank you! |
Hi @selhagani , My apologies for being unclear. I'm the maintainer of Datafaker, and I would like to generate a To accomplish this, I ran all the unit tests of the Datafaker project and I enabled the GraalVM java-agent/reachability agent to collect all the info. Most of it was collected correctly, but it also generated configuration with the double slash I have created the file as explained here: https://github.com/datafaker-net/datafaker?tab=readme-ov-file#native-image. If I made a mistake in generating this file, please let me know, and I'll fix my tests or update my instructions. Thanks for the help! |
I’m unable to replicate the issue you’re encountering, as the generated file did not exhibit the behavior you described during my testing. While I’m unsure of the exact steps you’re following, here is the process I use in general:
|
Describe GraalVM and your environment :
java -Xinternalversion
:Have you verified this issue still happens when using the latest snapshot?
You can find snapshot builds here: https://github.com/graalvm/graalvm-ce-dev-builds/releases
Describe the issue
I've created a reachability-metadata file, but it contains empty globs.
Steps to reproduce the issue
Please include both build steps as well as run steps
Expected behavior
A correct file
Additional context
I won't post the whole file since it's 22.000 lines long, but this is the incorrectly generated part:
The text was updated successfully, but these errors were encountered: