This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [libjava patch] fix bootstrap failure with --enable-java-awt=gtk


OK.

Regards

Bryce

Matthias Klose wrote:

without this patch the bootstrap breaks on two not initialized
variables.

2004-01-19  Michael Koch  <konqueror@gmx.de>
	    Matthias Klose  <doko@debian.org>

* java/awt/im/InputContext.java: Initialze in, line.



--- libjava/java/awt/im/InputContext.java 2004-06-25 00:47:39.000000000 +0200
+++ libjava/java/awt/im/InputContext.java 2004-07-12 07:52:35.000000000 +0200
@@ -100,8 +100,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]