[kaffe] Bug Report: Loading of properties is busted
    Jim Pick 
    jim at kaffe.org
       
    Mon Sep  1 22:57:02 PDT 2003
    
    
  
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.
Cheers,
 - Jim
    
    
More information about the kaffe
mailing list