ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Wick <MW...@loftware.com>
Subject isreachable Condition
Date Mon, 25 Feb 2019 20:27:43 GMT
I've searched prior conversations and didn't find anything relevant.

With OpenJDK 1.8 and Ant 10.10.5, I am seeing this warning when I try to run the isreachable
condition:

"cannot do a proper reachability test on this Java version"

Looking at the org.apache.tools.ant.taskdefs.condition.IsReachable, this call is throwing
a NoSuchMethodException:

Method reachableMethod =
                InetAddress.class.getMethod(METHOD_NAME, Integer.class);


Shouldn't Integer.class be Integer.TYPE?


Thanks,

Mark
Mime
View raw message