You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2013/09/16 21:56:52 UTC

[jira] [Commented] (BIGTOP-1071) bigtop-detect-javahome should select the first possible candidate in the list

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

Sean Mackrory commented on BIGTOP-1071:
---------------------------------------

+1 - although it appears [~cos] has already committed this. The addition of the nested loop is quite recent - and I guess the need to switch from break to exit was just omitted at that time.

Thank you very much for the patch!
                
> bigtop-detect-javahome should select the first possible candidate in the list
> -----------------------------------------------------------------------------
>
>                 Key: BIGTOP-1071
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1071
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: BIGTOP-1071-0.patch
>
>
> Though the intent of the script seems to be "prefering Oracle JDK to OpenJDK and prefering JDK 6 to JDK 7", current implementation select the last possible candidate in the list if multiple JDKs are installed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira