This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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.

Andrew.


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