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

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

{quote}
The code in 3.5 will only know to detect up to Java 7, while the code in 5.2 
will know to detect Java 8.

Wouldn't that work?
{quote}

I would prefer not to, because it opens up the opportunity to wrongly record 
this somewhere (e.g. diagnostics map)
or even just System.out.println or checkindex or something... it would be 
misleading.
                
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to