diff options
author | jfrijters <jfrijters> | 2011-07-07 14:02:46 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-07-07 14:02:46 +0400 |
commit | 35806400bfbaf29f45d0887dd9cd2288e645a2d9 (patch) | |
tree | cfd297f9dff0460b31a8332d67ec46e0c301dd2f /openjdk/java/net | |
parent | f805cdf051593baecb262259e3d3cfd982d988d0 (diff) |
Updated to OpenJDK 7.
Diffstat (limited to 'openjdk/java/net')
-rw-r--r-- | openjdk/java/net/TwoStacksPlainDatagramSocketImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openjdk/java/net/TwoStacksPlainDatagramSocketImpl.java b/openjdk/java/net/TwoStacksPlainDatagramSocketImpl.java index db2b4282..85708342 100644 --- a/openjdk/java/net/TwoStacksPlainDatagramSocketImpl.java +++ b/openjdk/java/net/TwoStacksPlainDatagramSocketImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,6 +26,7 @@ package java.net; import java.io.IOException; import java.io.FileDescriptor; +import sun.net.ResourceManager; /** * This class defines the plain DatagramSocketImpl that is used for all @@ -105,6 +106,7 @@ class TwoStacksPlainDatagramSocketImpl extends AbstractPlainDatagramSocketImpl protected void close() { if (fd != null || fd1 != null) { datagramSocketClose(); + ResourceManager.afterUdpClose(); fd = null; fd1 = null; } |