This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to fix setting of fields


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]