You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ch...@apache.org on 2025/09/05 15:00:56 UTC
(lucene) branch branch_10x updated: [10x] Support JDK 25 in Panama Vectorization Provider (#15158)
This is an automated email from the ASF dual-hosted git repository.
chegar pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_10x by this push:
new 33450de8f4e [10x] Support JDK 25 in Panama Vectorization Provider (#15158)
33450de8f4e is described below
commit 33450de8f4e63d3bda85a6719be23f770c17cb7c
Author: Chris Hegarty <62...@users.noreply.github.com>
AuthorDate: Fri Sep 5 16:00:50 2025 +0100
[10x] Support JDK 25 in Panama Vectorization Provider (#15158)
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.
---
lucene/CHANGES.txt | 2 ++
.../org/apache/lucene/internal/vectorization/VectorizationProvider.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 9ddf2687727..5402f3f077e 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -81,6 +81,8 @@ New Features
* GITHUB#15110: PostingsDecodingUtil: interchange loops to enable better memory access and SIMD vectorisation. (Ramakrishna Chilaka)
+* GITHUB#15157: Support JDK 25 in Panama Vectorization Provider. (Chris Hegarty)
+
Improvements
---------------------
* GITHUB#14458: Add an IndexDeletion policy that retains the last N commits. (Owais Kazi)
diff --git a/lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java b/lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java
index f725de389a6..cba9588887e 100644
--- a/lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java
+++ b/lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java
@@ -77,7 +77,7 @@ public abstract class VectorizationProvider {
private static final String UPPER_JAVA_FEATURE_VERSION_SYSPROP =
"org.apache.lucene.vectorization.upperJavaFeatureVersion";
- private static final int DEFAULT_UPPER_JAVA_FEATURE_VERSION = 24;
+ private static final int DEFAULT_UPPER_JAVA_FEATURE_VERSION = 25;
private static int getUpperJavaFeatureVersion() {
int runtimeVersion = DEFAULT_UPPER_JAVA_FEATURE_VERSION;