[native] hibernate-search-orm-elasticsearch extension not working with GraalVM 20.3-dev #16442
Labels
area/elasticsearch
area/hibernate-search
Hibernate Search
area/mandrel
kind/bug
Something isn't working
Milestone
Describe the bug
As of 7f8617e native apps using
hibernate-search-orm-elasticsearch
cannot be compiled using GraalVM/Mandrel dev versions.The issue is caused by the usage of
graalVMVersion.isSnapshot()
as a mean to see if the JVM is GraalVM or not.graalVMVersion.isSnapshot()
however is not meant to be used for that purpose and returns true not only in OpenJDK but in GraalVM dev versions as well.Expected behavior
Native apps should compile and run.
Actual behavior
The native image generation fails with:
To Reproduce
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: