Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable MethodHandles in HSearch, even with GraalVM 21+
It causes weird errors when mass indexing, probably because the MethodHandles implementation in native mode is not completely thread-safe. For example: Entities that could not be indexed correctly: Person#212 : org.hibernate.search.util.common.SearchException: HSEARCH900005: Exception while invoking 'private java.lang.Long io.quarkus.it.hibernate.search.elasticsearch.search.Person.id' on 'io.quarkus.it.hibernate.search.elasticsearch.search.Person@33be79fb'. ... Caused by: java.lang.ClassCastException: io.quarkus.it.hibernate.search.elasticsearch.search.Address cannot be cast to io.quarkus.it.hibernate.search.elasticsearch.search.Person
- Loading branch information