You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2024/11/17 12:41:34 UTC

(lucene) branch main updated: Suppressing "automatic module" warning for benchmark-jmh (#13997)

This is an automated email from the ASF dual-hosted git repository.

sokolov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new a0e1eeefebf Suppressing "automatic module" warning for benchmark-jmh (#13997)
a0e1eeefebf is described below

commit a0e1eeefebf1cf7df078c3478433d0a546d4c513
Author: Viswanath Kuchibhotla <vi...@users.noreply.github.com>
AuthorDate: Sun Nov 17 18:11:27 2024 +0530

    Suppressing "automatic module" warning for benchmark-jmh (#13997)
    
    via Viswanath Kuchibhotla
---
 lucene/benchmark-jmh/src/java/module-info.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lucene/benchmark-jmh/src/java/module-info.java b/lucene/benchmark-jmh/src/java/module-info.java
index d92164cfae1..019e08abce1 100644
--- a/lucene/benchmark-jmh/src/java/module-info.java
+++ b/lucene/benchmark-jmh/src/java/module-info.java
@@ -16,6 +16,9 @@
  */
 
 /** Lucene JMH benchmarks. */
+
+// jmh.core is not modularized and causes a warning. Suppressing it until it is modularized.
+@SuppressWarnings("requires-automatic")
 module org.apache.lucene.benchmark.jmh {
   requires jmh.core;
   requires jdk.unsupported;