← Back to team overview

openjdk team mailing list archive

Bug#776946: openjdk-7-jdk: fails to list interfaces

 

Package: openjdk-7-jdk:amd64
Version: 7u3-2.1.7-1
Severity: normal


Hi,

I have trouble listing the interfaces on my computer. I used
this program:

http://docs.oracle.com/javase/tutorial/networking/nifs/listing.html

The result is this:

$ java ListNets
Exception in thread "main" java.net.SocketException: Cannot assign requested address
	at java.net.NetworkInterface.getAll(Native Method)
	at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:326)
	at ListNets.main(ListNets.java:9)
$


There are related bug reports in the Oracle database, eg.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7078386



Cheers,
--Toni++