diff options
author | aclement <aclement> | 2004-07-27 10:34:41 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-07-27 10:34:41 +0000 |
commit | 936459c28229321deb0b09d076193be32cd9754e (patch) | |
tree | c5556e2d29d7182fa6a69312022789336b5a96ec /tests/bugs | |
parent | 9867cbbcc40e471fb07ea7726fa02664f36ac8e8 (diff) | |
download | aspectj-936459c28229321deb0b09d076193be32cd9754e.tar.gz aspectj-936459c28229321deb0b09d076193be32cd9754e.zip |
Fix for 53999
"can't bind type" message has $ for . in type name for declare soft
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/Cosmetic.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/Cosmetic.java b/tests/bugs/Cosmetic.java new file mode 100644 index 000000000..bc874305b --- /dev/null +++ b/tests/bugs/Cosmetic.java @@ -0,0 +1,11 @@ + class Test { + public static void main(String[] args) { + test(); + } + static void test() { + throw new Error("hello"); + } + static aspect A { + declare soft : unknown.Error : call(void test()); // CE should be a message saying cant bind type 'unknown.Error' and not 'unknown$Error' + } +}
\ No newline at end of file |