diff options
author | jfrijters <jfrijters> | 2008-06-15 13:12:17 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2008-06-15 13:12:17 +0400 |
commit | 1ce49f3525efe6b2dff22c1c44bab9d477e84bab (patch) | |
tree | e55daa4047a530b99ed936b166c827ce19849ff0 /openjdk/map.xml | |
parent | 7532902497edb1e266386856b56d3ad6051fb7ce (diff) |
- Implemented connected datagram sockets using .NET 2.0 Socket.Connect()/Disconnect() API.
- Used .NET 2.0 Socket.IOControl() API to disable WSAECONNRESET errors (when not connected).
- Removed workaround for OpenJDK bug from map.xml.
Diffstat (limited to 'openjdk/map.xml')
-rw-r--r-- | openjdk/map.xml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/openjdk/map.xml b/openjdk/map.xml index 352ca430..b812ed73 100644 --- a/openjdk/map.xml +++ b/openjdk/map.xml @@ -1197,19 +1197,6 @@ </body> </method> </class> - <class name="java.net.DatagramSocket"> - <method name="receive" sig="(Ljava.net.DatagramPacket;)V"> - <!-- HACK this is to work around a bug in DatagramSocket. It compares an Inet4Address instance with an InetAddress instance, - but the Inet4Address.equals(Object obj) method never returns true if obj isn't also an Inet4Address. - Normally this code path in DatagramSocket.receive() isn't used, but since we don't supported DatagramSocketImpl.connect() - we do end up here. --> - <replace-method-call class="java.net.InetAddress" name="equals" sig="(Ljava.lang.Object;)Z"> - <code> - <call class="java.net.PlainDatagramSocketImpl" name="equalsHack" sig="(Ljava.net.InetAddress;Ljava.net.InetAddress;)Z" /> - </code> - </replace-method-call> - </method> - </class> <class name="java.util.AbstractCollection"> <!-- We're adding an Add(object) method to allow collection initializers and Xml (soap) serialization to magically work --> <!-- NOTE Modifiers.Final and MethodAttributes.NewSlot is recognized by AotTypeWrapper.MapModifiers() as a magic combination that generates a non-virtual method --> |