mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 18:07:49 +00:00
6585239: Regression: 2 DNS tests fail with JDK 5.0u13 b01 and pass with 5.0u12fcs
Reviewed-by: vinnie
This commit is contained in:
parent
aa514761f5
commit
3db64bc897
@ -972,14 +972,11 @@ class NameClassPairEnumeration implements NamingEnumeration {
|
||||
}
|
||||
|
||||
/*
|
||||
* ctx will be closed when no longer needed by the enumeration.
|
||||
* ctx will be set to null when no longer needed by the enumeration.
|
||||
*/
|
||||
public void close () {
|
||||
public void close() {
|
||||
nodes = null;
|
||||
if (ctx != null) {
|
||||
ctx.close();
|
||||
ctx = null;
|
||||
}
|
||||
ctx = null;
|
||||
}
|
||||
|
||||
public boolean hasMore() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user