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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to