Bug in Boolean constructor

Archie Cobbs archie at whistle.com
Sat Nov 21 10:50:10 PST 1998


Stephen Summerfield writes:
> I discovered a bug in Kaffe 1.0.b2, in the java.lang.Boolean
> constructor.
> The following program shows the problem:
> 
> public class TestBoolean {
> 
> public static void main( String[] args ) {
> 	System.out.println( "new Boolean(\"false\")=" + new
> Boolean("false") );
> 	System.out.println( "new Boolean(\"true\")=" + new
> Boolean("true") );
> }
> }
> 
> The result is true in both cases, instead of false and true.

Thanks! Fix checked in..

> btw What's the 'official' channel for reporting bugs?

This list.. 

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list