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

@ -1,3 +1,11 @@
2003-12-01 Jeff Sturm <jsturm@one-point.com>
PR optimization/13024
* libjava.compile/PR13024.java: New file.
PR java/13237
* libjava.compile/PR13237.java: New file.
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch>
* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.

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);
}