Datagram/UDP not implemented?

Stewart Allen stewart at neuron.com
Wed Jul 22 23:09:05 PDT 1998


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);
	}
}




More information about the kaffe mailing list