aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@sendai.cygnus.com>1998-12-12 12:04:37 -0800
committerPer Bothner <bothner@gcc.gnu.org>1998-12-12 12:04:37 -0800
commit1287b91aeb66432811939ffc2d22ec5b253a3c60 (patch)
tree522cf4b4784ab931d600c227b8e489a5b676bc90 /gcc/java
parent7525cc04a83c94483e196df4d658a2daa7d8b55e (diff)
downloadgcc-1287b91aeb66432811939ffc2d22ec5b253a3c60.zip
gcc-1287b91aeb66432811939ffc2d22ec5b253a3c60.tar.gz
gcc-1287b91aeb66432811939ffc2d22ec5b253a3c60.tar.bz2
parse.y (<type_declaration>): Do maybe_generate_clinit last.
* 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
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 089d97a..4fe70b7 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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.