aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormwebster <mwebster>2006-06-01 11:52:55 +0000
committermwebster <mwebster>2006-06-01 11:52:55 +0000
commitb5525d9491fd8561b81c48e4e3d07d9631c5d8eb (patch)
tree1f06db0669c57554fa998dfdc7175064af301263 /tests
parentc82fae9bb7478f78837f98ac4b43564f1eef8770 (diff)
downloadaspectj-b5525d9491fd8561b81c48e4e3d07d9631c5d8eb.tar.gz
aspectj-b5525d9491fd8561b81c48e4e3d07d9631c5d8eb.zip
1.5 API: changed new PrintStream(File, ..) to new PrintStream(new FileOutputStream(), ..)
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
index 6a93cda4e..c70144e54 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
@@ -13,6 +13,7 @@ package org.aspectj.systemtest.ajc152;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.PrintStream;
import java.util.ArrayList;
@@ -283,7 +284,7 @@ public class SynchronizationTransformTests extends XMLBasedAjcTestCase {
private void saveMethod(File f,LazyMethodGen m) {
System.out.println("Saving method into "+f.getName());
try {
- m.print(new PrintStream(f),null);
+ m.print(new PrintStream(new FileOutputStream(f)),null);
} catch (FileNotFoundException e) {
e.printStackTrace();
fail("Couldn't store the method in file "+f);