src/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java

Print this page

        

@@ -95,11 +95,12 @@
      * 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());
     }
 
     /**
      * Determines whether this Continuation contains data that should be
      * used to continue the operation.