--- a/jdk/src/share/classes/com/sun/jndi/ldap/pool/PoolCleaner.java Wed Aug 10 16:23:56 2011 -0400
+++ b/jdk/src/share/classes/com/sun/jndi/ldap/pool/PoolCleaner.java Wed Aug 10 13:44:58 2011 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
@@ -41,7 +41,7 @@
public PoolCleaner(long period, Pool[] pools) {
super();
this.period = period;
- this.pools = (Pool[]) pools.clone();
+ this.pools = pools.clone();
setDaemon(true);
}