From d3156f737f3bb24e3ad695205da5977bef519275 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Tue, 24 Dec 2002 00:34:05 +0000 Subject: added coverage for exceptions thrown from intro methods these tests were inspired by failures compiling observer example --- tests/new/runtime/AllRuntime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/new/runtime') diff --git a/tests/new/runtime/AllRuntime.java b/tests/new/runtime/AllRuntime.java index cc7face15..47356aa1f 100644 --- a/tests/new/runtime/AllRuntime.java +++ b/tests/new/runtime/AllRuntime.java @@ -214,7 +214,7 @@ aspect A { /** unused - enable to throw exception from run() */ public boolean TargetClass.throwException; - public void TargetClass.run() throws Exception { + public void TargetClass.run() { if (throwException) throwsException(); } -- cgit v1.2.3