Commit c25d9caa by Jeff Sturm Committed by Jeff Sturm

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
parent 3c987b8e
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.
......
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) {}
}
}
}
}
class PR13237 {
double kappa = Math.sqrt(2.0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment