rmuir commented on a change in pull request #18: URL: https://github.com/apache/lucene/pull/18#discussion_r594287749
########## File path: gradle/defaults-java.gradle ########## @@ -60,3 +60,14 @@ allprojects { } } } + +configure(project(":lucene:core")) { + plugins.withType(JavaPlugin) { Review comment: Is it really impossible though? Wit MR-JAR could we define a class version for 16+, but define slow version for 17+? Effectively, we define a version of the code for only exactly version 16? Furthermore, couldn't we check with static initializer and if the incubator module isn't available, link methodhandle to a slow version? ---------------------------------------------------------------- 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