Regression test driver now can read different expected output files
[cacao.git] / tests / gc / New.java
1 public class New {
2         public static final int N=1000000;
3         public static final String TEMPLATE="I am simply a space filler";
4
5         public static void main(String args[]) {
6                 String s;
7
8                 System.out.println("Creating lots of Strings ...");
9                 s = null;
10                 for (int i=0; i<N; i++) {
11                         s = new String(TEMPLATE);
12                 }
13
14                 System.out.println("The String was: \'" + s + "\'");
15
16                 System.out.println("done.");
17         }
18 }