uschindler commented on PR #12705:
URL: https://github.com/apache/lucene/pull/12705#issuecomment-1774106700

   You can call `segment.scope().isAlive()` to figure out if the scope is still 
alive. This works for Java 20+. The Java 19 version can't use this.
   
   I will possibly create a new PR to handle this and also rethrow the 
IllegalStateException as done here for NPE.


-- 
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

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