-
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
Compilation fails without --report-unsupported-elements-at-runtime #2829
Comments
@agilob did you try to run the native-image-agent to generate config files? |
I have run By simplified I mean I removed some classes that micronaut handles during compilation, so it would be duplicated. |
@graemerocher commented on gitter that method handles aren't supported yet by graal. Is this a duplicate then? |
Yes indeed, method handlers are not supported by GraalVM currently. This is a duplicate |
Can you please link duplicates together and where is this being worked on? |
Duplicate of #955 Maybe @christianwimmer can shed more light on this. |
Describe the issue
I'm getting the error below when native-image.properties doesn't contain
--report-unsupported-elements-at-runtime
Uncommenting the parameter produces working native-image.
Steps to reproduce the issue
Please include both build steps as well as run steps
MICRONAUT_ENVIRONMENTS=prod ./gradlew assemble && bash ./docker-build.sh
Describe GraalVM and your environment:
Graal docker image: 20.2.0
SubstrateVM (dependency in build.gradle) 20.2.0
More details
Meta-inf
Dockerfile
Add any other information about the problem here. Especially important are stack traces or log output. Feel free to link to gists or to screenshots if necessary.
The text was updated successfully, but these errors were encountered: