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:
parent
3c987b8ed7
commit
c25d9caa3b
@ -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.
|
||||
|
18
libjava/testsuite/libjava.compile/PR13024.java
Normal file
18
libjava/testsuite/libjava.compile/PR13024.java
Normal 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) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
libjava/testsuite/libjava.compile/PR13237.java
Normal file
3
libjava/testsuite/libjava.compile/PR13237.java
Normal file
@ -0,0 +1,3 @@
|
||||
class PR13237 {
|
||||
double kappa = Math.sqrt(2.0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user