< prev index next >

test/jdk/java/io/FileOutputStream/ManyFiles.java

Print this page
rev 59105 : imported patch corelibs

*** 41,51 **** // 8 requires an explicit allocation of more file descriptors // to succeed. Since this test is written to check for a // Windows capability it is much simpler to only run it // on that platform. String osName = System.getProperty("os.name"); ! if (osName.startsWith("Linux")||osName.startsWith("SunOS")) return; for (int n = 0; n < NUM_FILES; n++) { File f = new File("file" + count++); files.add(f); --- 41,51 ---- // 8 requires an explicit allocation of more file descriptors // to succeed. Since this test is written to check for a // Windows capability it is much simpler to only run it // on that platform. String osName = System.getProperty("os.name"); ! if (osName.startsWith("Linux")) return; for (int n = 0; n < NUM_FILES; n++) { File f = new File("file" + count++); files.add(f);
< prev index next >