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

GraalVM SVM compatibility? #2

Open
bsideup opened this issue Jun 26, 2020 · 3 comments
Open

GraalVM SVM compatibility? #2

bsideup opened this issue Jun 26, 2020 · 3 comments

Comments

@bsideup
Copy link

bsideup commented Jun 26, 2020

Hi!

It would be helpful if each component would have something like "Works on GraalVM" due to GraalVM's limited support for method handles. There are some great ones, but I wanted to be sure that it won't exclude GraalVM from project's compatibility if I use them :)

Thanks!

@forax
Copy link
Owner

forax commented Jun 26, 2020

If by GraalVM, you mean GraalVM native image, none of them works with native image because they all rely one way or another on java.lang.invoke reflection.

I hope project Leyden will offer a way to describe those constructs in a way amenable to native image.

@bsideup bsideup changed the title GraalVM compatibility? GraalVM SVM compatibility? Jun 26, 2020
@bsideup
Copy link
Author

bsideup commented Jun 26, 2020

@forax yes, sorry, talking about SVM.

none of them works with native image because they all rely one way or another on java.lang.invoke reflection.

oh, okay 😅 I thought some will work, since SVM has a limited support for MethodHandle.

@forax
Copy link
Owner

forax commented Jun 26, 2020

The limited support is very limited :)
It supports lambdas and string concatenation, that's it

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

2 participants