From 6f13b740e05074d74326294a5baa77db1dde215d Mon Sep 17 00:00:00 2001 From: jhugunin Date: Thu, 1 May 2003 00:21:51 +0000 Subject: [PATCH] Expected fix for issue of Class.forName differences between IBM and SUN's JDKs -- not yet tested on IBMs JDK to confirm --- weaver/src/org/aspectj/weaver/Member.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- 2.39.5