aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authormwebster <mwebster>2006-08-30 09:46:37 +0000
committermwebster <mwebster>2006-08-30 09:46:37 +0000
commit14e8b7d8f0c94d316665036c3968821f8874678e (patch)
tree222a154557a34345528fcd4da82c939564b2f380 /weaver
parent6be70973a704548a42e396e996c9d49915b92a64 (diff)
downloadaspectj-14e8b7d8f0c94d316665036c3968821f8874678e.tar.gz
aspectj-14e8b7d8f0c94d316665036c3968821f8874678e.zip
Bug 155238 "Trace should use System.identityHashCode, not hashCode"
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/tools/AbstractTrace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/tools/AbstractTrace.java b/weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
index 28755dfd2..6034a1f05 100644
--- a/weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
+++ b/weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
@@ -139,7 +139,7 @@ public abstract class AbstractTrace implements Trace {
}
/* Use classname@hashcode */
- else return obj.getClass().getName() + "@" + Integer.toHexString(obj.hashCode());
+ else return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
/* Object.hashCode() can be override and may thow an exception */
} catch (Exception ex) {