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

Bryce McKinlay mckinlay@redhat.com
Thu Jul 15 04:04:00 GMT 2004


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
>  
>



More information about the Java-patches mailing list