summaryrefslogtreecommitdiffstats
path: root/libjava/java/io
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-27 18:42:38 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-27 18:42:38 +0000
commit9d167a28e3dd31e6748679cdb766610d53fbe6dc (patch)
treece432aa4ad7d926954f645729fff5d4d66a7e00c /libjava/java/io
parent865a41050142baa1bc32d2e06f1c327d162a566e (diff)
downloadppe42-gcc-9d167a28e3dd31e6748679cdb766610d53fbe6dc.tar.gz
ppe42-gcc-9d167a28e3dd31e6748679cdb766610d53fbe6dc.zip
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* java/io/File.java (toURI): Throw RuntimeException, not InternalError. * java/lang/Runtime.java (exit): Qualify static sleep() call with class name, not instance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io')
-rw-r--r--libjava/java/io/File.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/libjava/java/io/File.java b/libjava/java/io/File.java
index 47f18b533b3..1d930d59b84 100644
--- a/libjava/java/io/File.java
+++ b/libjava/java/io/File.java
@@ -893,8 +893,7 @@ public class File implements Serializable, Comparable
catch (URISyntaxException use)
{
// Can't happen.
- throw (InternalError) new InternalError("Unconvertible file: "
- + this).initCause(use);
+ throw new RuntimeException(use);
}
}
OpenPOWER on IntegriCloud