diff options
author | Michael Koch <konqueror@gmx.de> | 2004-07-29 13:48:17 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-07-29 13:48:17 +0000 |
commit | a639e504d8f710bc95d6f05cf2054636c9789c42 (patch) | |
tree | f9862b77533f7bafbe3c126e99a0052d37f6a1c3 | |
parent | 587530637932f8e7cf65de50ec063ae0fb2e301f (diff) | |
download | gcc-a639e504d8f710bc95d6f05cf2054636c9789c42.zip gcc-a639e504d8f710bc95d6f05cf2054636c9789c42.tar.gz gcc-a639e504d8f710bc95d6f05cf2054636c9789c42.tar.bz2 |
MainThread.java: Explicitely import used classes.
2004-07-29 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/MainThread.java:
Explicitely import used classes.
(args): Make it type String[].
From-SVN: r85299
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/gnu/java/lang/MainThread.java | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c4032f2..ba265cf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-07-29 Michael Koch <konqueror@gmx.de> + + * gnu/java/lang/MainThread.java: + Explicitely import used classes. + (args): Make it type String[]. + 2004-07-29 Dalibor Topic <robilad@kaffe.org> * gnu/java/awt/ComponentDataBlitOp.java, diff --git a/libjava/gnu/java/lang/MainThread.java b/libjava/gnu/java/lang/MainThread.java index 61751b2..5937b87 100644 --- a/libjava/gnu/java/lang/MainThread.java +++ b/libjava/gnu/java/lang/MainThread.java @@ -39,7 +39,8 @@ exception statement from your version. */ package gnu.java.lang; -import java.util.jar.*; +import java.util.jar.Attributes; +import java.util.jar.JarFile; /** * MainThread is a Thread which uses the main() method of some class. @@ -63,7 +64,7 @@ final class MainThread extends Thread // Private data. private Class klass; private String klass_name; - private Object args; + private String[] args; private boolean is_jar; public MainThread(Class k, String[] args) |