MCPcopy Create free account
hub / github.com/apache/ant / isJavaVersion

Method isJavaVersion

src/main/org/apache/tools/ant/util/JavaEnvUtils.java:281–284  ·  view source on GitHub ↗

Compares the current Java version to the passed in String - assumes the argument is one of the constants defined in this class. Note that Ant now requires JDK 1.8+ so #JAVA_1_0 through #JAVA_1_7 need no longer be tested for. @param version the version to check against the current ver

(String version)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

equalsMethod · 0.45