-
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
[native-image] AnalysisError$FieldNotPresentError: Field java.net.URI.string is not present on type java.lang.Object #1805
Comments
I have the same problem but for a different field than java.net.URI.string with latest 19.3.0 CE.
It will take a little cleanup to post. So let me know if you need additional code to what oowekyala has provided. |
@oowekyala @kaspernielsen thanks for the reports. This is a side effect of the current limitations in In the case of Jetty, the problematic code is in
Although |
Okay, is there an issue that tracks the implementation status of MethodHandle (and friends)? |
This comment #955 (comment) is a good summary of the current status. We have some ideas about how to improve the MethodHandle support and we'll have an initial implementation soon. |
Thanks, yeah I'm already following that issue:) |
3a96706 should provide a better error message. The |
Hi,
I'm trying to compile a native image of Jetty, and compilation fails with what looks like a bug:
You can run our setup in the following way:
This occurs with the latest release of graal/ native-image
Keep up the good work!
The text was updated successfully, but these errors were encountered: