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
This commit is contained in:
Jeff Sturm 2003-12-02 04:43:25 +00:00 committed by Jeff Sturm
parent 3c987b8ed7
commit c25d9caa3b
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,18 @@
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) {}
}
}
}
}

View file

@ -0,0 +1,3 @@
class PR13237 {
double kappa = Math.sqrt(2.0);
}