parse.y (<type_declaration>): Do maybe_generate_clinit last.
authorAlexandre Petit-Bianco <apbianco@sendai.cygnus.com>
Sat, 12 Dec 1998 20:04:37 +0000 (12:04 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 12 Dec 1998 20:04:37 +0000 (12:04 -0800)
* 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.

From-SVN: r24275

gcc/java/ChangeLog

index 089d97aa3fb4be913e8249b82d3ad3823c077015..4fe70b7a2e46bd1e6de1eea8814e3bd0167f7722 100644 (file)
@@ -1,3 +1,14 @@
+Sat Dec 12 19:46:04 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>
+
+       * 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.
+
 Sat Dec 12 19:21:11 1998  Per Bothner  <bothner@cygnus.com>
 
        * expr.c (encode_newarray_type, build_new_array):  New functions.