From 26a8a862994acefb10a57d561b18c94ffeba41a4 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 30 May 2006 09:59:53 +0000 Subject: [PATCH] test and fixes for 143930, 143924 --- .../aspectj/tools/ajdoc/CoverageTestCase.java | 2 +- .../core/builder/AsmElementFormatter.java | 3 +- .../core/builder/AsmHierarchyBuilder.java | 4 +- tests/bugs152/pr143924.aj | 13 ++++++ .../systemtest/ajc151/Ajc151Tests.java | 2 +- .../systemtest/ajc152/Ajc152Tests.java | 41 +++++++++++++++++++ .../org/aspectj/systemtest/ajc152/ajc152.xml | 6 +++ .../weaver/AsmRelationshipProvider.java | 3 +- 8 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 tests/bugs152/pr143924.aj diff --git a/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java b/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java index 09d6ede30..b76b0b116 100644 --- a/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java +++ b/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java @@ -211,7 +211,7 @@ public class CoverageTestCase extends AjdocTestCase { "before(): getP..", "HREF=\"../foo/Point.html#getX()\"", "before(): setP..", - "HREF=\"../foo/Point.html\">foo.Point, foo.Point.Point(), foo.Point, foo.Point.Point, + + + + + + diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index 96db20473..636c95898 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -369,8 +369,7 @@ public class AsmRelationshipProvider { Type[] args = method.getArgumentTypes(); for (int i = 0; i < args.length; i++) { Type type2 = args[i]; - String s = Utility.signatureToString(type2.getSignature()); - if (s.lastIndexOf(".")!=-1) s =s.substring(s.lastIndexOf(".")+1); + String s = Utility.signatureToString(type2.getSignature(),false); parmString.append(s); if ((i+1)