ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaikiran Pai <jaiki...@apache.org>
Subject Re: isreachable Condition
Date Tue, 26 Feb 2019 03:27:14 GMT
Hello Mark,

You are right - this indeed is a bug (only affect 1.10.x series). I have
pushed a fix which should take care of this and will be available in
next release. Thank you for reporting this.

-Jaikiran

On 26/02/19 1:57 AM, Mark Wick wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message