ChrisHegarty commented on code in PR #12311: URL: https://github.com/apache/lucene/pull/12311#discussion_r1199035703
########## gradle/testing/defaults-tests.gradle: ########## @@ -119,10 +119,13 @@ allprojects { if (rootProject.runtimeJavaVersion < JavaVersion.VERSION_16) { jvmArgs '--illegal-access=deny' } + + // Disable assertions to workaround JDK-8301190 + jvmArgs '-da:jdk.incubator.vector.LaneType' Review Comment: I went with option 2 - fall back to scalar impl (e.g. pretend vector api is not enabled) if the user has Turkish or Azeri locale and jdk version < 21. Clearly we can revisit this if it turns out to be problematic. I'm hoping not - and we should be able to do something smarter for JDK 20.0.2, which has this JDK bug fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org