uschindler commented on pull request #173: URL: https://github.com/apache/lucene/pull/173#issuecomment-856594835
Hi, I am currently working on an Update to Java 17, where some changes occurred (there is a new `ResourceScope` class that replaces `MemorySegment.share()`; the good thing: You can close only the `ResourceScope`, not segments anymore. And: you can close the ResourceScope and all segments attached to it are closed. In short: `MemorySegmentIndexInput.close()` simply closes the `ResourceScope` -- done). I will open a new JDK17 PR. -- 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. 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