From c6d8c34761c20477a3cf6fb62d8523fd476d85df Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 12 Mar 2003 20:46:21 +0000 Subject: [PATCH] @testcase type not imported in around advice --- tests/ajcTestsFailing.xml | 7 +++++++ tests/errors/TypeNotImportedInAroundCE.java | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/errors/TypeNotImportedInAroundCE.java diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index 578f0aa75..19a8c048f 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -49,4 +49,11 @@ + + + + + + diff --git a/tests/errors/TypeNotImportedInAroundCE.java b/tests/errors/TypeNotImportedInAroundCE.java new file mode 100644 index 000000000..01e3f0150 --- /dev/null +++ b/tests/errors/TypeNotImportedInAroundCE.java @@ -0,0 +1,12 @@ + + + +class C { void m() { } } + + +/** @testcase type not imported in around advice */ +aspect A { + void around() : execution(void m()) { + Rectangle expected = null; // CE 10 + } +} -- 2.39.5