[ 
https://issues.apache.org/jira/browse/LUCENE-10578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545246#comment-17545246
 ] 

Tomoko Uchida commented on LUCENE-10578:
----------------------------------------

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runtime.Version.html
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Runtime.Version.html

For both Java 11 and 17, Runtime.Version.feature() / interim() / update() are 
available.

> Make minimum required Java version for build more specific
> ----------------------------------------------------------
>
>                 Key: LUCENE-10578
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10578
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Tomoko Uchida
>            Priority: Minor
>
> See this mail thread for background: 
> [https://lists.apache.org/thread/6md5k94pqdkkwg0f66hor2sonm2t77jo]
> To prevent developers (especially, release managers) from using too old java 
> versions, we could (should?) elaborate the minimum required java versions for 
> the build.
> Possible questions in my mind:
>  * should we stop the build with an error or emit a warning and continue?
>  * do minor versions depend on the vendor? if yes, should we also specify the 
> vendor?
>  * how do we determine/maintain the minimum version?
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to