From 936459c28229321deb0b09d076193be32cd9754e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 27 Jul 2004 10:34:41 +0000 Subject: Fix for 53999 "can't bind type" message has $ for . in type name for declare soft --- tests/ajcTests.xml | 6 ++++++ tests/bugs/Cosmetic.java | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/bugs/Cosmetic.java (limited to 'tests') diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 08d856f20..a74b3d915 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7770,4 +7770,10 @@ + + + + + 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 -- cgit v1.2.3