public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.
@ 2006-07-26 12:54 pluto at agmk dot net
2006-08-06 21:35 ` [Bug libgcj/28491] " tromey at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pluto at agmk dot net @ 2006-07-26 12:54 UTC (permalink / raw)
To: java-prs
$ cat IPv6Test.java
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.util.Enumeration;
public class IPv6Test
{
public static void main( String args[] ) throws Exception
{
Enumeration nics = NetworkInterface.getNetworkInterfaces();
while ( nics.hasMoreElements() )
{
NetworkInterface ni = (NetworkInterface)nics.nextElement();
System.out.println(ni);
}
}
}
$ gcj IPv6Test.java -C
$ java IPv6Test // java-sun-1.5.0.06
name:eth0 (eth0) index: 2 addresses:
/fe80:0:0:0:20f:eaff:fed3:1f6d%2;
/10.0.2.35;
name:lo (lo) index: 1 addresses:
/0:0:0:0:0:0:0:1%1;
/127.0.0.1;
$ gij IPv6Test
name: lo (lo) addresses:
/127.0.0.1;
name: eth0 (eth0) addresses:
/10.0.2.35;
$ /sbin/ip a l
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
(...)
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
(...)
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
(...)
inet 10.0.2.35/24 brd 10.0.2.255 scope global eth0
inet6 fe80::20f:eaff:fed3:1f6d/64 scope link
(...)
--
Summary: NetworkInterface.getNetworkInterfaces() doesn't report
ipv6 interfaces.
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28491
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/28491] NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.
2006-07-26 12:54 [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces pluto at agmk dot net
@ 2006-08-06 21:35 ` tromey at gcc dot gnu dot org
2006-08-06 22:23 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-08-06 21:35 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-06 21:35:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28491
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/28491] NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.
2006-07-26 12:54 [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces pluto at agmk dot net
2006-08-06 21:35 ` [Bug libgcj/28491] " tromey at gcc dot gnu dot org
@ 2006-08-06 22:23 ` tromey at gcc dot gnu dot org
2006-08-06 22:43 ` tromey at gcc dot gnu dot org
2006-08-06 22:44 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-08-06 22:23 UTC (permalink / raw)
To: java-prs
------- Comment #1 from tromey at gcc dot gnu dot org 2006-08-06 22:23 -------
Testing a patch.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-08-06 21:35:24 |2006-08-06 22:23:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28491
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/28491] NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.
2006-07-26 12:54 [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces pluto at agmk dot net
2006-08-06 21:35 ` [Bug libgcj/28491] " tromey at gcc dot gnu dot org
2006-08-06 22:23 ` tromey at gcc dot gnu dot org
@ 2006-08-06 22:43 ` tromey at gcc dot gnu dot org
2006-08-06 22:44 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-08-06 22:43 UTC (permalink / raw)
To: java-prs
------- Comment #2 from tromey at gcc dot gnu dot org 2006-08-06 22:43 -------
Subject: Bug 28491
Author: tromey
Date: Sun Aug 6 22:43:05 2006
New Revision: 115977
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115977
Log:
PR libgcj/28491:
* configure, include/config.h.in: Rebuilt.
* configure.ac: Look for ifaddrs.h, getifaddrs.
* java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
getifaddrs if available.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/configure
trunk/libjava/configure.ac
trunk/libjava/include/config.h.in
trunk/libjava/java/net/natVMNetworkInterfacePosix.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28491
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/28491] NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.
2006-07-26 12:54 [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces pluto at agmk dot net
` (2 preceding siblings ...)
2006-08-06 22:43 ` tromey at gcc dot gnu dot org
@ 2006-08-06 22:44 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-08-06 22:44 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2006-08-06 22:44 -------
Fix checked in on trunk.
This could be backported by someone if need be.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28491
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-06 22:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26 12:54 [Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces pluto at agmk dot net
2006-08-06 21:35 ` [Bug libgcj/28491] " tromey at gcc dot gnu dot org
2006-08-06 22:23 ` tromey at gcc dot gnu dot org
2006-08-06 22:43 ` tromey at gcc dot gnu dot org
2006-08-06 22:44 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).