src/share/classes/com/sun/jndi/toolkit/ctx/Continuation.java
Print this page
*** 95,105 ****
* when setting the "environment" of a CannotProceedException.
*/
public Continuation(Name top, Hashtable<?,?> environment) {
super();
starter = top;
! this.environment = environment;
}
/**
* Determines whether this Continuation contains data that should be
* used to continue the operation.
--- 95,106 ----
* when setting the "environment" of a CannotProceedException.
*/
public Continuation(Name top, Hashtable<?,?> environment) {
super();
starter = top;
! this.environment = (Hashtable<?,?>)
! ((environment == null) ? null : environment.clone());
}
/**
* Determines whether this Continuation contains data that should be
* used to continue the operation.