From: jhugunin Date: Fri, 23 Jan 2004 20:38:34 +0000 (+0000) Subject: Fix to stop leaving 'foo' files around in the top of tests after running the suite. X-Git-Tag: v_preCompileLoopAlteration~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b4e2512530a5d0a12e92071eb2e3198722dcd6b;p=aspectj.git Fix to stop leaving 'foo' files around in the top of tests after running the suite. --- diff --git a/tests/new/MissingTypeInDeclareParents.java b/tests/new/MissingTypeInDeclareParents.java index a2fd4f619..7f1e18014 100644 --- a/tests/new/MissingTypeInDeclareParents.java +++ b/tests/new/MissingTypeInDeclareParents.java @@ -7,8 +7,8 @@ import java.io.*; public class MissingTypeInDeclareParents { public static void main(String[] args) throws Exception { - FileWriter fr = new FileWriter("foo"); - fr.close(); + String s = "f" + "oo"; + int x = s.indexOf("o"); Tester.check(true, "Kilroy was here"); } } @@ -17,5 +17,5 @@ class C { } aspect A { /** Xlint warning expected where FileWriter is outside code controlled by implementation */ - declare parents : FileWriter extends Runnable; // CW 20 Xlint warning + declare parents : String extends Runnable; // CW 20 Xlint warning }