repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libjava
/
testsuite
/
libjava.compile
/
PR13024.java
blob
61ab17c5e88f0c8b185f9f66421301d6dcf63c34
1
import
java
.
io
.*;
2
import
java
.
util
.
zip
.*;
3
4
class
PR13024
{
5
void
isZipOrJarArchive
(
File file
)
throws
IOException
{
6
ZipFile zipFile
=
null
;
7
8
try
{
9
zipFile
=
new
ZipFile
(
file
);
10
}
finally
{
11
if
(
zipFile
!=
null
) {
12
try
{
13
zipFile
.
close
();
14
}
catch
(
IOException ignored
) {}
15
}
16
}
17
}
18
}