diff options
author | jhugunin <jhugunin> | 2003-05-01 00:21:51 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-05-01 00:21:51 +0000 |
commit | 6f13b740e05074d74326294a5baa77db1dde215d (patch) | |
tree | d4f710494b6477e2d6d9e1319312bc94749f1625 /weaver | |
parent | 50a7291088bb04a856e5cf6ff31606b86213b052 (diff) | |
download | aspectj-6f13b740e05074d74326294a5baa77db1dde215d.tar.gz aspectj-6f13b740e05074d74326294a5baa77db1dde215d.zip |
Expected fix for issue of Class.forName differences
between IBM and SUN's JDKs -- not yet tested on IBMs JDK to confirm
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/Member.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/Member.java b/weaver/src/org/aspectj/weaver/Member.java index 1b6c9aadf..7e3b2474f 100644 --- a/weaver/src/org/aspectj/weaver/Member.java +++ b/weaver/src/org/aspectj/weaver/Member.java @@ -702,7 +702,8 @@ public class Member implements Comparable { protected String makeString(TypeX t) { // this is the inverse of the odd behavior for Class.forName w/ arrays if (t.isArray()) { - return t.getSignature(); + // this behavior matches the string used by the eclipse compiler for Foo.class literals + return t.getSignature().replace('/', '.'); } else { return t.getName(); } |