This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Two small patches
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 10 Nov 2002 13:21:19 -0700
- Subject: Re: Two small patches
- References: <1036959615.808.2.camel@elsschot>
- Reply-to: tromey at redhat dot com
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> The following two small patches make some exceptions a bit
Mark> clearer and remove a compiler warning about an unused function
Mark> argument variable.
Ok.
Mark> - throw new java::lang::ArrayStoreException;
Mark> + throw new java::lang::ArrayStoreException
Mark> + ((new java::lang::StringBuffer
Mark> + (JvNewStringUTF("Cannot store ")))->append
Mark> + (obj_class->getName())->append
Mark> + (JvNewStringUTF(" in array of type "))->append
Mark> + (elt_class->getName())->toString());
It might be easier to read with a new block and separate statements.
It's your decision though.
Tom