From 76d695ff1a6f8863a1b64f17e38a5ffee170f09f Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 23 Aug 2012 12:19:58 -0700 Subject: 387444 --- tests/bugs171/pr387444/Code.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/bugs171/pr387444/Code.java (limited to 'tests/bugs171/pr387444/Code.java') diff --git a/tests/bugs171/pr387444/Code.java b/tests/bugs171/pr387444/Code.java new file mode 100644 index 000000000..4407908f6 --- /dev/null +++ b/tests/bugs171/pr387444/Code.java @@ -0,0 +1,12 @@ +import java.io.*; + +public class Code { + public void m() { // throws IOException { + try (FileReader reader = new FileReader("test.txt")) { + System.out.println(""); + } + } +} +aspect X { + declare soft: IOException: within(*); +} -- cgit v1.2.3