mirror of https://github.com/apache/lucene.git
98918aa223
This commit allows easier verification of the Panama Vectorization provider with newer Java versions. The upper bound Java version of the Vectorization provider is hardcoded to the version that has been tested and is known to work. This is a bit inflexible when experimenting with and verifying newer JDK versions. This change proposes to add a new system property that allows to set the upper bound of the range of Java versions supported. With this change, and the accompanying small gradle change, then one can verify newer JDKs as follows: CI=true; RUNTIME_JAVA_HOME=/Users/chegar/binaries/jdk-24.jdk-ea-b23/Contents/Home ./gradlew :lucene:core:test -Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=24 This change helps both testing and verifying with Early Access JDK builds, as well as allowing to override the upper bound when the JDK is known to work fine. |
||
---|---|---|
.. | ||
defaults-tests | ||
randomization/policies | ||
alternative-jdk-support.gradle | ||
beasting.gradle | ||
coverage.gradle | ||
defaults-tests.gradle | ||
fail-on-no-tests.gradle | ||
failed-tests-at-end.gradle | ||
per-project-summary.gradle | ||
profiling.gradle | ||
profiling.jfc | ||
randomization.gradle | ||
slowest-tests-at-end.gradle |