fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / libjava / testsuite / libjava.compile / PR13024.java
blob61ab17c5e88f0c8b185f9f66421301d6dcf63c34
1 import java.io.*;
2 import java.util.zip.*;
4 class PR13024 {
5 void isZipOrJarArchive(File file) throws IOException {
6 ZipFile zipFile = null;
8 try {
9 zipFile = new ZipFile(file);
10 } finally {
11 if (zipFile != null) {
12 try {
13 zipFile.close();
14 } catch (IOException ignored) {}