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: Java: [gcjh] Fix PR 16474


>-- Original Message --
>Date: Mon, 12 Jul 2004 11:11:02 +0100
>From: Andrew Haley <aph@redhat.com>
>To: Bryce McKinlay <mckinlay@redhat.com>
>Cc: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org
>Subject: Java: [gcjh] Fix PR 16474
>
>
>Bryce McKinlay writes:
> > This patch fixes PR 16474. With bytecode emitted by some non-gcj
> > compilers, gcjh could emit a non-static final field as a C++ "const"

> > field with an initializer, which is not legal C++. This patch fixes
gcjh
>
> > to only emit initializers for "static final" fields.
> >
> > OK to commit?
> >
> > Bryce
> >
> >
> > 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
> >
> > 	PR java/16474
> > 	gjavah.c (print_field_info): Emit constant only if field is static.
>
>OK.

This is a bit over approved, at least 6 times in my mailbox :)

Andreas



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