dain 2005/06/28 04:34:25
Modified: modules/core/src/java/org/openejb/corba/util Util.java
Log:
Add primary key to CORBAHandle so we can delete with handle easily
When copying results, make sure to copy into the correct class loader
Revision Changes Path
1.17 +2 -2
openejb/modules/core/src/java/org/openejb/corba/util/Util.java
Index: Util.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/util/Util.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Util.java 28 Jun 2005 01:47:50 -0000 1.16
+++ Util.java 28 Jun 2005 08:34:25 -0000 1.17
@@ -450,7 +450,7 @@
// copy the result to force replacement
// corba does not call writeReplace on remote proxies
try {
- object = SerializationHanlder.copyObj(object);
+ object =
SerializationHanlder.copyObj(Thread.currentThread().getContextClassLoader(),
object);
} catch (Exception e) {
log.debug("Exception in result copy", e);
throw new UnknownException(e);