zacharymorn commented on pull request #2052: URL: https://github.com/apache/lucene-solr/pull/2052#issuecomment-748443350
> You can do it statically, look at how the unmapper in Mmapdir works: > Look up the reflective in static intitalizer and save the result at very end in static final. Guard the lookup with correct try blocks and if the lookup fails assign null to the static final. > At runtime when creating the directory, check for null and throw meaningful IOException. > May I push directly to your branch? Oh I see that makes sense! Yes please feel free to push the changes if you have them ready now. I can also put that in when I wake up tomorrow. ---------------------------------------------------------------- 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