aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-05-01 00:21:51 +0000
committerjhugunin <jhugunin>2003-05-01 00:21:51 +0000
commit6f13b740e05074d74326294a5baa77db1dde215d (patch)
treed4f710494b6477e2d6d9e1319312bc94749f1625 /weaver
parent50a7291088bb04a856e5cf6ff31606b86213b052 (diff)
downloadaspectj-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.java3
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();
}