Skip to content

Commit e287128

Browse files
authored
[10.3] Support JDK 25 in Panama Vectorization Provider (#15159)
This commit updates the Vectorization Provider to support JDK 25. The API has not changed so the changes minimally bump the major JDK check, and enable the incubating API during testing.
1 parent 878a3db commit e287128

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lucene/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ New Features
5050

5151
* GITHUB#15110: PostingsDecodingUtil: interchange loops to enable better memory access and SIMD vectorisation. (Ramakrishna Chilaka)
5252

53+
* GITHUB#15157: Support JDK 25 in Panama Vectorization Provider. (Chris Hegarty)
54+
5355
Improvements
5456
---------------------
5557
* GITHUB#14458: Add an IndexDeletion policy that retains the last N commits. (Owais Kazi)

lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public abstract class VectorizationProvider {
7777

7878
private static final String UPPER_JAVA_FEATURE_VERSION_SYSPROP =
7979
"org.apache.lucene.vectorization.upperJavaFeatureVersion";
80-
private static final int DEFAULT_UPPER_JAVA_FEATURE_VERSION = 24;
80+
private static final int DEFAULT_UPPER_JAVA_FEATURE_VERSION = 25;
8181

8282
private static int getUpperJavaFeatureVersion() {
8383
int runtimeVersion = DEFAULT_UPPER_JAVA_FEATURE_VERSION;

0 commit comments

Comments
 (0)