]> source.dussan.org Git - aspectj.git/commitdiff
Fix for Bugzilla Bug 70404
authoraclement <aclement>
Fri, 27 Aug 2004 15:00:10 +0000 (15:00 +0000)
committeraclement <aclement>
Fri, 27 Aug 2004 15:00:10 +0000 (15:00 +0000)
   passing null to array arguments confuzes static join point signature.

lib/test/aspectjrt.jar
runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java

index f9bc6187abc00b1f954ed4682f4b67020135bbbb..976e2737ea134b4124a5130aabcda90f2428c80f 100644 (file)
Binary files a/lib/test/aspectjrt.jar and b/lib/test/aspectjrt.jar differ
index b010acf26707d70cf520ad3448211deb860ac558..9c8d226ac2754885bb3331ecb827bfad20cae5ac 100644 (file)
@@ -161,7 +161,9 @@ abstract class SignatureImpl implements Signature {
             if (loader == null) {
                 return Class.forName(s);
             } else {
-                return loader.loadClass(s);
+               // used to be 'return loader.loadClass(s)' but that didn't cause
+               // array types to be created and loaded correctly. (pr70404)
+                return Class.forName(s,false,loader);
             }
         } catch (ClassNotFoundException e) {
             //System.out.println("null for: " + s);