1 // Make sure that file handles are garbage collected.
3 public class FileHandleGcTest
5 static void kill () throws FileNotFoundException
7 for (int i = 0; i < 65536; i++)
9 FileInputStream f = new FileInputStream ("/dev/null");
20 catch (FileNotFoundException _)