Author: jason.greene(a)jboss.com
Date: 2008-06-16 20:40:14 -0400 (Mon, 16 Jun 2008)
New Revision: 5992
Modified:
core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java
Log:
Fix JBCACHE-1370
Modified: core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java
===================================================================
--- core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java 2008-06-17
00:16:30 UTC (rev 5991)
+++ core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java 2008-06-17
00:40:14 UTC (rev 5992)
@@ -137,7 +137,7 @@
CacheInterceptor interceptor = new CacheInterceptor(cache_, fqn, type);
interceptor.setAopInstance(aopInstance);
advisor.appendInterceptor(interceptor);
- cache_.addUndoInterceptor(advisor, interceptor,
ModificationEntry.INTERCEPTOR_ADD);
+ //cache_.addUndoInterceptor(advisor, interceptor,
ModificationEntry.INTERCEPTOR_ADD);
} else { // Must be Collection classes. We will use aop.ClassProxy instance
instead.
try {
@@ -609,7 +609,7 @@
Interceptor interceptor =
CollectionInterceptorUtil.getInterceptor((ClassProxy)value);
value = ((AbstractCollectionInterceptor)interceptor).getOriginalInstance();
}
-
+
try {
field.set(result, value);
} catch (IllegalAccessException e) {
Show replies by date