This is the mail archive of the java@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]

[patch] fix bootstrap in libjava


../../../../../src/libjava/classpath/java/awt/im/InputContext.java: In class 'java.awt.im.InputContext':
../../../../../src/libjava/classpath/java/awt/im/InputContext.java: In method '<clinit>()':
../../../../../src/libjava/classpath/java/awt/im/InputContext.java:119: error: variable 'line' may not have been initialized
../../../../../src/libjava/classpath/java/awt/im/InputContext.java:128: error: variable 'in' may not have been initialized

ok to checkin?

--- libjava/classpath/java/awt/im/InputContext.java~	2005-07-16 02:33:10.000000000 +0200
+++ libjava/classpath/java/awt/im/InputContext.java	2005-07-19 13:01:31.819183869 +0200
@@ -102,8 +102,8 @@
     while (e.hasMoreElements())
       {
         URL url = (URL) e.nextElement();
-        BufferedReader in;
-        String line;
+        BufferedReader in = null;
+        String line = null;
         try
           {
             in = new BufferedReader


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