--- old/src/share/classes/com/sun/jndi/ldap/pool/PoolCleaner.java 2011-07-27 17:22:38.509567200 -0700 +++ new/src/share/classes/com/sun/jndi/ldap/pool/PoolCleaner.java 2011-07-27 17:22:37.861502400 -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); }