exotic
exotic copied to clipboard
GraalVM SVM compatibility?
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!
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.
@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
.
The limited support is very limited :) It supports lambdas and string concatenation, that's it