ChrisHegarty commented on code in PR #12311: URL: https://github.com/apache/lucene/pull/12311#discussion_r1198869676
########## 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: Argh! we're running into a JDK bug, fixed in the not-yet-released JDK 20.0.2! :-( The JDK bug is https://bugs.openjdk.org/browse/JDK-8301190 - it's an incorrect assertion when default locale is say tr. Reproduce with: `./gradlew :lucene:core:test --tests "org.apache.lucene.util.TestVectorUtil" -Dtests.locale=tr-TR` I've just disabled assertions in this one JDK class to workaround the issue. -- 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