This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: Java: [gcjh] Fix PR 16474
- From: "Andreas Tobler" <toa at pop dot agri dot ch>
- To: "Andrew Haley" <aph at redhat dot com>,"Bryce McKinlay" <mckinlay at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org,java-patches at gcc dot gnu dot org
- Date: Mon, 12 Jul 2004 13:05:44 +0200
- Subject: 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