This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: patch to fix setting of fields
- From: Tom Tromey <tromey at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 23 Jan 2002 12:18:58 -0700
- Subject: Re: patch to fix setting of fields
- References: <3C4F0200.60208@bothner.com>
- Reply-to: tromey at redhat dot com
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> This patch does two things:
Per> (1) Makes sure the field isn't FINAL before setting it.
Per> (2) In set, does other checks *before* checking that new
Per> value conforms to field type. This better matches the
Per> specification, so we'll get the correct exception.
Per> Does this look ok to check in?
Definitely. Thanks.
Tom