* libjava.compile/PR13024.java: New file.
* libjava.compile/PR13237.java: New file.
From-SVN: r74157
+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.
--- /dev/null
+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) {}
+ }
+ }
+ }
+}
--- /dev/null
+class PR13237 {
+ double kappa = Math.sqrt(2.0);
+}