This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: gnu.java.lang.MainThread


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached obvious patch to get 
gnu.java.lang.MainThread a little bit more in line with classpath.


Michael


2004-07-29  Michael Koch  <konqueror@gmx.de>

	* gnu/java/lang/MainThread.java:
	Explicitely import used classes.
	(args): Make it type String[].
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCQEwWSOgCCdjSDsRAmc2AJ4lQ3eP+dgUEr+PdcponuNtUXM50gCfX9iB
MglpAJFkHd9FeVikesMOs44=
=gvGB
-----END PGP SIGNATURE-----
Index: gnu/java/lang/MainThread.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/lang/MainThread.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 MainThread.java
--- gnu/java/lang/MainThread.java	4 Jul 2004 15:27:05 -0000	1.1
+++ gnu/java/lang/MainThread.java	29 Jul 2004 13:47:59 -0000
@@ -39,7 +39,8 @@
 
 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 @@
   // 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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]