lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3574) Add some more constants for newer Java versions to Constants.class, remove outdated ones.
Date Mon, 14 Nov 2011 15:16:51 GMT

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

Robert Muir commented on LUCENE-3574:
-------------------------------------

{quote}
Also, not sure if it's worth it, but perhaps instead of constants like MIMINUM_JAVA_X we can
have a class JavaVersion that follows the same logic we have in Version
{quote}

I think the problem here would be that say we release 3.5 in a week.

Then two years later Java 8 comes out... we can't know today how to detect it. So all we can
do is say that we are 'at least' java 7 because we have XYZ.
                
> Add some more constants for newer Java versions to Constants.class, remove outdated ones.
> -----------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3574
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3574
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: core/other
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 3.5, 4.0
>
>         Attachments: LUCENE-3574-3x.patch
>
>
> Preparation for LUCENE-3235:
> This adds constants to quickly detect Java6 and Java7 to Constants.java. It also deprecated
and removes the outdated historical Java versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message