summaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-19 13:11:36 +0000
committeraclement <aclement>2005-10-19 13:11:36 +0000
commit0526a766cea15bb99d817c0cc7126ae3ebd9ec68 (patch)
tree21d55d2ace25b7cd85c6b18210ca3a9f8319e598 /loadtime
parent31c2e3f98737cb9cb2923040d2fd12784785a671 (diff)
downloadaspectj-0526a766cea15bb99d817c0cc7126ae3ebd9ec68.tar.gz
aspectj-0526a766cea15bb99d817c0cc7126ae3ebd9ec68.zip
changed the fix - it didnt even compile on my machine without this change...
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 1698f9d7a..37014675e 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -416,7 +416,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
* @return the bytecode representation of the aspect
*/
private String readAspect(String name, ClassLoader loader){
- if (true) return name+"@"+(loader==null?"0":loader.hashCode());
+ if (true) return name+"@"+(loader==null?"0":Integer.toString(loader.hashCode()));
// FIXME AV - ?? can someone tell me why we read the whole bytecode
// especially one byte by one byte
// also it does some NPE sometime (see AtAjLTW "LTW Decp2")