jainankitk opened a new issue, #15046:
URL: https://github.com/apache/lucene/issues/15046

   ### Description
   
   Build is failing with the following error:
   After backporting the change #15033 on `branch_10x`, build is failing due to 
unnamed variables error. Working on fixing that
   
   ```
   
/Users/runner/work/lucene/lucene/lucene/core/src/java21/org/apache/lucene/store/MemorySegmentIndexInput.java:330:
 error: unnamed variables are a preview feature and are disabled by default.
   > Task :lucene:core:compileMain21Java FAILED
       } catch (IndexOutOfBoundsException _) {
   gradle/actions: Writing build results to 
/Users/runner/work/_temp/.gradle-actions/build-results/__run-1754950346869.json
                                          ^
     (use --enable-preview to enable unnamed variables)
   1 error
   
   
   FAILURE: Build failed with an exception.
   [Incubating] Problems report is available at: 
file:///Users/runner/work/lucene/lucene/build/reports/problems/problems-report.html
   
   10 actionable tasks: 10 executed
   * What went wrong:
   Execution failed for task ':lucene:core:compileMain21Java'.
   > Compilation failed; see the compiler output below.
     
/Users/runner/work/lucene/lucene/lucene/core/src/java21/org/apache/lucene/store/MemorySegmentIndexInput.java:330:
 error: unnamed variables are a preview feature and are disabled by default.
         } catch (IndexOutOfBoundsException _) {
                                            ^
       (use --enable-preview to enable unnamed variables)
     1 error
   
   * Try:
   > Check your code and dependencies to fix the compilation error(s)
   
   BUILD FAILED in 1m 38s
   ```
   
   ### Version and environment details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to