class.c (make_class): Don't set CLASS_P here (because this function is also called...
authorPer Bothner <bothner@gcc.gnu.org>
Mon, 15 Mar 1999 13:09:44 +0000 (05:09 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 15 Mar 1999 13:09:44 +0000 (05:09 -0800)
commit2c3199bc4a271157f3cdfb71b3de714004c21ee1
tree1e599bb20fca228f28e09640dffe0689ba351ff6
parent2728f622015ae0cfdf0461cdc894e6b8745fa708
class.c (make_class): Don't set CLASS_P here (because this function is also called by...

d
* 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: r25784
gcc/java/jcf-dump.c
gcc/java/parse.c
gcc/java/parse.h
gcc/java/parse.y