bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22728] InetAddress.getByName(ip) is not instanceof Inet4A


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22728] InetAddress.getByName(ip) is not instanceof Inet4Address
Date: 16 Oct 2005 01:26:50 -0000

On Sun JRE, InetAddress.getByName("127.0.0.1") is instanceof Inet4Address. On
GNU classpath it is instanceof InetAddress.
Note also, that InetAddress is defined as abstract in Java API, so no public
API method should return a InetAddress instance!


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-04-29 
21:20 -------
I just commit a fix for this to cvs. the fix will be in the soon to be releases
0.09 version.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22728





reply via email to

[Prev in Thread] Current Thread [Next in Thread]