gcc/libjava/testsuite/libjava.compile/PR13024.java
Jeff Sturm c25d9caa3b re PR rtl-optimization/13024 (gcj can't build current rhug)
* libjava.compile/PR13024.java: New file.
* libjava.compile/PR13237.java: New file.

From-SVN: r74157
2003-12-02 04:43:25 +00:00

19 lines
401 B
Java

import java.io.*;
import java.util.zip.*;
class PR13024 {
void isZipOrJarArchive(File file) throws IOException {
ZipFile zipFile = null;
try {
zipFile = new ZipFile(file);
} finally {
if (zipFile != null) {
try {
zipFile.close();
} catch (IOException ignored) {}
}
}
}
}