some strange WARNING when upgrade form 3.11.3 to 3.12.2 via init command

48 views
Skip to first unread message

Guy Levkowitz

unread,
Sep 28, 2025, 6:33:26 AM (10 days ago) Sep 28
to Repo and Gerrit Discussion
Hey
when i run below command we get:
 java -jar gerrit3.12.2.war init -d . --batch --delete-caches --install-all-plugins --no-auto-start
WARNING: A restricted method in java.lang.foreign.Linker has been called
WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module

Sep 28, 2025 1:32:17 PM org.apache.lucene.internal.vectorization.VectorizationProvider lookup
WARNING: Java vector incubator module is not readable. For optimal vector performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.



Is this Ok ? 

Guy Levkowitz

unread,
Sep 28, 2025, 7:02:18 AM (10 days ago) Sep 28
to Repo and Gerrit Discussion

Also the merge Icon we had was green now it is gray can it be changed back to green ? 

ב-יום ראשון, 28 בספטמבר 2025 בשעה 13:33:26 UTC+3, Guy Levkowitz כתב/ה:
after_upgrade_3.12.2.png
before_upgrade_3.12.2_version3.11.3.png

Matthias Sohn

unread,
Sep 29, 2025, 7:11:17 AM (9 days ago) Sep 29
to Guy Levkowitz, Repo and Gerrit Discussion
This Java warning is raised for lucene which has some optional implementation using Java vector APIs which are still in incubation in JDK 25
It looks like lucene will fallback to another implementation if prerequisites for usage of Java vector API are not in place.
 


Is this Ok ? 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/97074e7e-b277-4a8b-98d1-e9351ed7762en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages