You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ChrisHegarty (via GitHub)" <gi...@apache.org> on 2023/05/25 07:47:57 UTC

[GitHub] [lucene] ChrisHegarty commented on pull request #12327: [Backport] Integrate the Incubating Panama Vector API #12311

ChrisHegarty commented on PR #12327:
URL: https://github.com/apache/lucene/pull/12327#issuecomment-1562438056

   There are a couple of warnings showing up in the precommit checks. Not sure why I only see these here, but they should be relatively straightforward to fix (and will be required in _main_ too)
   
   ```
   /home/runner/work/lucene/lucene/lucene/core/src/java20/org/apache/lucene/store/MemorySegmentIndexInput.java:275: error: incompatible types: possible lossy conversion from long to int
   
         this.curPosition = Objects.checkIndex(pos & chunkSizeMask, curSegment.byteSize() + 1);
                                                   ^
   /home/runner/work/lucene/lucene/lucene/core/src/java20/org/apache/lucene/store/MemorySegmentIndexInput.java:468: error: incompatible types: possible lossy conversion from long to int
           curPosition = Objects.checkIndex(pos, length + 1);
                                            ^
   /home/runner/work/lucene/lucene/lucene/core/src/java20/org/apache/lucene/util/VectorUtilPanamaProvider.java:82: error: cannot access VectorSupport
         FloatVector acc1 = FloatVector.zero(PREF_FLOAT_SPECIES);
                                       ^
     class file for jdk.internal.vm.vector.VectorSupport not found
   Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
   3 errors
   > Task :lucene:core:compileMain20Java FAILED
   ```


-- 
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-unsubscribe@lucene.apache.org

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


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