lucene/gradle/testing
Chris Hegarty 8698dd85d8
Allow easier verification of the Panama Vectorization provider with newer Java versions (#13986)
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.
2024-11-14 09:02:15 +00:00
..
defaults-tests LUCENE-9435: Clean up ant compatability remnants in Gradle build 2020-08-30 14:01:04 +02:00
randomization/policies An eye-gouging way to limit suppressAccessChecks to just the three JARs that need them. (#13164) 2024-03-08 08:10:49 +01:00
alternative-jdk-support.gradle Update Gradle wrapper to 8.8 - supports Java 22 (#13453) 2024-06-06 08:46:18 +01:00
beasting.gradle Upgrade to gradle 8.10 (#13700) 2024-08-30 12:36:56 +02:00
coverage.gradle GITHUB#12655: upgrade jacoco aggregation plugin (failed with gradle 8.x), change html output property. 2023-10-12 20:42:17 +02:00
defaults-tests.gradle Allow easier verification of the Panama Vectorization provider with newer Java versions (#13986) 2024-11-14 09:02:15 +00:00
fail-on-no-tests.gradle LUCENE-9465: 'beast' task from within gradle (#1757) 2020-08-18 09:28:50 +02:00
failed-tests-at-end.gradle Gradle build: cleanup of dependency resolution and consolidation of dependency versions (#13484) 2024-06-17 09:49:21 +02:00
per-project-summary.gradle LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task 2020-01-27 12:05:34 -05:00
profiling.gradle Upgrade to gradle 8.10 (#13700) 2024-08-30 12:36:56 +02:00
profiling.jfc LUCENE-9193: heap allocations for tests.profile 2020-01-30 08:29:10 -05:00
randomization.gradle Upgrade to gradle 8.10 (#13700) 2024-08-30 12:36:56 +02:00
slowest-tests-at-end.gradle Upgrade to gradle 8.10 (#13700) 2024-08-30 12:36:56 +02:00