diff options
author | mwebster <mwebster> | 2006-08-30 09:46:37 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-08-30 09:46:37 +0000 |
commit | 14e8b7d8f0c94d316665036c3968821f8874678e (patch) | |
tree | 222a154557a34345528fcd4da82c939564b2f380 /loadtime | |
parent | 6be70973a704548a42e396e996c9d49915b92a64 (diff) | |
download | aspectj-14e8b7d8f0c94d316665036c3968821f8874678e.tar.gz aspectj-14e8b7d8f0c94d316665036c3968821f8874678e.zip |
Bug 155238 "Trace should use System.identityHashCode, not hashCode"
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java b/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java index 403a3576f..02c8a091e 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java @@ -53,7 +53,7 @@ public class DefaultWeavingContext implements IWeavingContext { * @return classname@hashcode */ public String getClassLoaderName() { - return ((loader!=null)?loader.getClass().getName()+"@"+Integer.toHexString(loader.hashCode()):"null"); + return ((loader!=null)?loader.getClass().getName()+"@"+Integer.toHexString(System.identityHashCode(loader)):"null"); } /** |