uschindler opened a new pull request, #978:
URL: https://github.com/apache/lucene/pull/978

   This PR deprecates (and we will remove them in main) some useless constants 
in `oal.util.Constants`:
   - JRE_IS_MINIMUM_JAVA_xxx (all are now return `true`)
   - Runtime version and specification version (they return the values 
converted to String) from `java.lang.Runtime#version()`
   
   In the rest of the code I removed all "dead code". At several places we have 
code that wasn't executed since Java 9, because we are not allowed to look into 
runtime classes anymore. I removed that code. This was mainly:
   - Memory leak detectors in LuceneTestCase (@dweiss do you have an idea how 
to fix this?)
   - Some tests in LRUCache were not working anymore, because our ram usage 
detector just returned approximates. We may tune up the test, so I did not 
delete them and converted the "assume" to an `@Ignore`.


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