aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-03-15 05:09:47 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-03-15 05:09:47 -0800
commitc52016e41d746a0e01c304c3fdf3cab6746ded8f (patch)
tree784a3702d08ff44e6ebd1b880a4d68934fb90fbd
parent2c3199bc4a271157f3cdfb71b3de714004c21ee1 (diff)
downloadgcc-c52016e41d746a0e01c304c3fdf3cab6746ded8f.zip
gcc-c52016e41d746a0e01c304c3fdf3cab6746ded8f.tar.gz
gcc-c52016e41d746a0e01c304c3fdf3cab6746ded8f.tar.bz2
class.c (make_class): Don't set CLASS_P here (because this function is also called by...
* class.c (make_class): Don't set CLASS_P here (because this function is also called by build_java_array_type). (push_class): Set CLASS_P here instead. * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant. * jcf-dump.c (print_access_flags): Take extra parameter to indicate context. If the context is class, perfer "super" over "synchronized". * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface. * parse.y (create_class): Don't call parser_check_super here; it is not robust. Always wait until later. * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to match what JDK 1.2 does), but don't set ACC_PUBLIC. From-SVN: r25785
-rw-r--r--gcc/java/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 437be4e..7c00271 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,20 @@
+Mon Mar 15 12:18:29 1999 Per Bothner <bothner@cygnus.com>
+
+ * class.c (make_class): Don't set CLASS_P here (because
+ this function is also called by build_java_array_type).
+ (push_class): Set CLASS_P here instead.
+ * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant.
+
+ * jcf-dump.c (print_access_flags): Take extra parameter to indicate
+ context. If the context is class, perfer "super" over "synchronized".
+ * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface.
+
+ * parse.y (create_class): Don't call parser_check_super here;
+ it is not robust. Always wait until later.
+
+ * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to
+ match what JDK 1.2 does), but don't set ACC_PUBLIC.
+
Sat Mar 13 18:16:34 1999 Per Bothner <bothner@cygnus.com>
* lex.c (java_read_char): UNGET invalid non-initial utf8 character.