Datagram/UDP not implemented?

Stewart Allen kaffe@rufus.w3.org
Thu, 23 Jul 1998 02:09:05 -0400 (EDT)


Running the current Kaffe 1.0b1 on RH5.0 Intel Linux

/*
 * Run this in one or two VM's then Kaffe.
 *
 * Failed to locate native function:
 *    java/net/DatagramSocket.datagramSocketCreate()V
 * java.lang.UnsatisfiedLinkError
 *    at java/net/DatagramSocket.<init>(25)
 *    at UDPTest.main(8)
 */

import java.net.*;

public class UDPTest
{
	public static void main(String args[])
		throws Exception
	{
		DatagramSocket ds;

		// this fails
		ds = new DatagramSocket();

		// so does this
		ds = new DatagramSocket(5555);
	}
}