OSDN Git Service

* parse.y (<type_declaration>): Do maybe_generate_clinit last.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Dec 1998 20:04:37 +0000 (20:04 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Dec 1998 20:04:37 +0000 (20:04 +0000)
commitbd2e9ff5bb65beca5f31ae72da40066df953f1cd
tree522cf4b4784ab931d600c227b8e489a5b676bc90
parent00bae11dca2f6b5632840b6cb76bccae7eefd2ad
* parse.y (<type_declaration>):  Do maybe_generate_clinit last.
(register_fields):  If a static fields has an initializer, just
chain it on ctxp->static_initialized, and handle later.
(java_complete_expand_methods):  Force <clinit> first.
(resolve_expression_name, resolve_field_access):  Just get DECL_INITIAL
- it's already been completed.
(patch_initialized_static_field):  New function.
(java_complete_field):  Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24275 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog