--- old/src/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java Mon May 13 06:49:15 2013 +++ new/src/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java Mon May 13 06:49:13 2013 @@ -90,14 +90,15 @@ * Constructs a new instance of Continuation. * @param top The name of the object that is to be resolved/operated upon. * This becomes the Continuation's 'starter' and is used to - * calculate the "resolved name" when filling in a NamingException. + * calculate the "resolved name" when filling in a NamingException. * @param environment The environment used by the caller. It is used - * when setting the "environment" of a CannotProceedException. + * when setting the "environment" of a CannotProceedException. */ public Continuation(Name top, Hashtable environment) { super(); starter = top; - this.environment = environment; + this.environment = (Hashtable) + ((environment == null) ? null : environment.clone()); } /**