From: Michael Koch Date: Thu, 29 Jul 2004 13:48:17 +0000 (+0000) Subject: MainThread.java: Explicitely import used classes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a639e504d8f710bc95d6f05cf2054636c9789c42;p=gcc.git MainThread.java: Explicitely import used classes. 2004-07-29 Michael Koch * gnu/java/lang/MainThread.java: Explicitely import used classes. (args): Make it type String[]. From-SVN: r85299 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c4032f2fbd9..ba265cf3612 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-07-29 Michael Koch + + * gnu/java/lang/MainThread.java: + Explicitely import used classes. + (args): Make it type String[]. + 2004-07-29 Dalibor Topic * gnu/java/awt/ComponentDataBlitOp.java, diff --git a/libjava/gnu/java/lang/MainThread.java b/libjava/gnu/java/lang/MainThread.java index 61751b24069..5937b870d3e 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)