ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kasnacheev (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-12256) Fix double invocation of javaMajorVersion in scripts
Date Thu, 03 Oct 2019 11:20:00 GMT
Ilya Kasnacheev created IGNITE-12256:

             Summary: Fix double invocation of javaMajorVersion in scripts
                 Key: IGNITE-12256
                 URL: https://issues.apache.org/jira/browse/IGNITE-12256
             Project: Ignite
          Issue Type: Improvement
          Components: general
    Affects Versions: 2.7.6
            Reporter: Ilya Kasnacheev
            Assignee: Ilya Kasnacheev

Most of our shell script look as folows:

# Discover path to Java executable and check it's version.

# Discover IGNITE_HOME environment variable.

# Final JVM_OPTS for Java 9+ compatibility
javaMajorVersion "${JAVA_HOME}/bin/java"

It makes no sense to me since we already call javaMajorVersion in checkJava. Let's try to
get rid of it.

This message was sent by Atlassian Jira

View raw message