[Bug 384] InetAddress.isReachable() not defined

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Sep 11 13:16:33 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=384





------- Comment #1 from mark at klomp.org  2009-09-11 20:16 -------
(In reply to comment #0)
> I get the below compile error from openjdk6 on Fedora when trying to compile a
> class that calls InetAddress.isReachable(int):
> [...]
> The method isReachable(int) is undefined for the type InetAddress
> The output from java -version is:
> 
> java version "1.6.0_0"
> OpenJDK Runtime Environment (IcedTea6 1.5) (fedora-27.b16.fc11-i386)
> OpenJDK Server VM (build 14.0-b15, mixed mode)
> 
> Is this because isReachable isn't implemented by Classpath?

That is likely the cause. Indeed GNU Classpath doesn't define
InetAddress.isReachable(). But that would mean your javac or ant build script
is picking up the wrong compiler and/or class library.

Could you double check that the javac/compiler you are using in the build above
corresponds to the IcedTea 1.5 build?


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list