Archie Cobbs wrote:
Argh! I somehow attached the wrong test case. Sorry about that.
Please try this one instead...

Thanks,
-Archie

_______________________________________________________________________ ___
Archie Cobbs * CTO, Awarix * http://www.awarix.com
import java.util.*;
import java.util.logging.*;
import java.io.*;
public class LogInit
{
public static void main(String[] args) throws Exception
{
String pfile = "handlers=java.util.logging.ConsoleHandler\n"
+ "java.util.logging.ConsoleHandler.level=FINEST\n"
+ "LogInit.level=FINE\n";
LogManager.getLogManager().readConfiguration(
new ByteArrayInputStream(pfile.getBytes("UTF-8")));
Logger s_log = Logger.getLogger(LogInit.class.getName());
System.out.println("s_log="+s_log+" level="+s_log.getLevel());
s_log.info("PASS");
}
}

# gij LogInit [EMAIL PROTECTED] level=null Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 <<No stacktrace available>>

# gij --version
gij (GNU libgcj) version 4.0.0 20050203 (experimental)

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



# kaffe -cp . LogInit [EMAIL PROTECTED] level=null 6 Feb 2005 15:48:14 LogInit main INFO: PASS 6 Feb 2005 15:48:14 LogInit main INFO: PASS

# kaffe -version
Kaffe Virtual Machine

Copyright (c) 1996-2004 Kaffe.org project contributors (please see
the source code for a full list of contributors). All rights reserved.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.


The Kaffe virtual machine is free software, licensed under the terms of
the GNU General Public License. Kaffe.org is a an independent, free software
community project, not directly affiliated with Transvirtual Technologies,
Inc. Kaffe is a Trademark of Transvirtual Technologies, Inc. Kaffe comes
with ABSOLUTELY NO WARRANTY.


Engine: Interpreter   Version: 1.1.x-cvs   Java Version: 1.1

--
Chris Burdess



_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to