Skip to content
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

About Native Images for ES4X #604

Open
darrenweb opened this issue Nov 8, 2023 · 0 comments
Open

About Native Images for ES4X #604

darrenweb opened this issue Nov 8, 2023 · 0 comments

Comments

@darrenweb
Copy link

HI,

Currently can i generate native images with ES4X?

Currently,does the latest GraalVM compiler support for jvm interop at runtime?

Thanks!


[Native Images]
Currently you cannot generate native images with ES4X, the limitation is because the static analysis of the AOT compiler will not take in consideration the java code invoked from the script (so classes won't be available), plus the fact that the compiler has no support for jvm interop at runtime.

There is work in progress in this area so it might be possible in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant