]> source.dussan.org Git - aspectj.git/commitdiff
changed the fix - it didnt even compile on my machine without this change...
authoraclement <aclement>
Wed, 19 Oct 2005 13:11:36 +0000 (13:11 +0000)
committeraclement <aclement>
Wed, 19 Oct 2005 13:11:36 +0000 (13:11 +0000)
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java

index 1698f9d7abfd5e87bf0e08589406cff9f9b0f48e..37014675e4546d341e65d24c44ab80c27ca1835d 100644 (file)
@@ -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")