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: java.lang.System


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

Hi list,


I commited the attached patch to trunk to merge java.lang.System more 
with classpath's version.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+0wCBWSOgCCdjSDsRAkGAAJ4gcuYMxU5BRcNOq3FkN0+oyQ9apQCfQoNc
qhbHFVE0heUXL5cIy28g/R8=
=4AhO
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1907
diff -u -b -B -r1.1907 ChangeLog
--- ChangeLog	26 May 2003 12:58:01 -0000	1.1907
+++ ChangeLog	27 May 2003 06:01:21 -0000
@@ -1,3 +1,8 @@
+2003-05-27  Michael Koch  <konqueror@gmx.de>
+
+	* java/lang/System.java:
+	Explicitely import needed classes.
+
 2003-05-26  Michael Koch  <konqueror@gmx.de>
 
 	* java/net/NetPermission.java,
Index: java/lang/System.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/System.java,v
retrieving revision 1.12
diff -u -b -B -r1.12 System.java
--- java/lang/System.java	14 Feb 2003 17:43:34 -0000	1.12
+++ java/lang/System.java	27 May 2003 06:01:21 -0000
@@ -38,7 +38,13 @@
 
 package java.lang;
 
-import java.io.*;
+import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
+import java.io.FileDescriptor;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.io.PrintStream;
 import java.util.Properties;
 import java.util.PropertyPermission;
 import gnu.classpath.Configuration;
@@ -184,6 +190,7 @@
     SecurityManager sm = Runtime.securityManager; // Be thread-safe.
     if (sm != null)
       sm.checkPermission(new RuntimePermission("setIO"));
+    
     setOut0(out);
   }
 

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