This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [gui] Boolean and formatting fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java-patches at gcc dot gnu dot org, Jerry Quinn <jlquinn at optonline dot net>
- Date: 28 Oct 2004 08:58:22 -0600
- Subject: Re: [gui] Boolean and formatting fix
- References: <4180ED6C.9080206@optonline.net><200410281516.12105.konqueror@gmx.de>
- Reply-to: tromey at redhat dot com
>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
Michael> Are you sure this is correct ? boolean.class is not the same as
Michael> Boolean.class.
He's still passing boolean.class to getConstructor. For the actual
newInstance call, boolean values must be wrapped in Boolean, he just
changed the code from `new Boolean' to `Boolean.valueOf'.
Tom