diff options
author | aclement <aclement> | 2004-08-27 15:00:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-27 15:00:10 +0000 |
commit | 001d0365eaf2a622dd6f7cdc462bb10b5f65e81f (patch) | |
tree | f9fb771a55ab466b6d81e9677976d96bfe3996f0 /runtime | |
parent | a5330382082fbb28a761421037901d6b277e966f (diff) | |
download | aspectj-001d0365eaf2a622dd6f7cdc462bb10b5f65e81f.tar.gz aspectj-001d0365eaf2a622dd6f7cdc462bb10b5f65e81f.zip |
Fix for Bugzilla Bug 70404
passing null to array arguments confuzes static join point signature.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java b/runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java index b010acf26..9c8d226ac 100644 --- a/runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java +++ b/runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java @@ -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); |