[kaffe] Bug Report: Loading of properties is busted

Guilhem Lavaux guilhem at kaffe.org
Tue Sep 2 10:54:03 PDT 2003


Jim Pick wrote:

>Hi,
>
>I've been chasing down why Jetty won't start (it hangs).  It looks like
>some of the recent changes broke the java.util.Properties stuff.  I
>wouldn't be surprised that this is the reason why Freenet won't start as
>well.
>
>Here's some code which will go into a loop trying to read from the file
>descriptor:
>
>import java.io.FileInputStream;
>import java.util.Properties;
>
>public class TestProperties {
>
>        public static void main(String[] args)
>                throws Exception {
>                Properties properties = new Properties();
>                properties.load(new FileInputStream("demoRealm.properties"));
>                System.out.println("properties loaded");
>        }
>}
>
>I'll dig deeper tomorrow, unless somebody else fixes it first.
>  
>
Nope, easy to fix. I've just checked the correction I think. Thanks for 
the report.

Cheers,
Guilhem.







More information about the kaffe mailing list