uschindler commented on issue #14050: URL: https://github.com/apache/lucene/issues/14050#issuecomment-2531096386
Hi, I would do it like the following on Windows: - if windows returns `true`, `return Optional.of(Boolean.TRUE)` - if windows returns `false`, `return Optional.empty()` - once the bug is fixed in some future JDK feature version, add a `version.feature()>=...` check to return the unfiltered variable. Not sure if the test needs to be adapted. Uwe -- 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