deprecated before writing attribute count.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63482
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-02-26 Tom Tromey <tromey@redhat.com>
+
+ * jcf-write.c (generate_classfile): Check whether class is
+ deprecated before writing attribute count.
+
2003-02-25 Roger Sayle <roger@eyesopen.com>
* java/decl.c (java_init_decl_processing): Get soft_fmod_node from
i++;
if (clas == object_type_node)
i++;
- PUT2 (i); /* attributes_count */
-
if (CLASS_DEPRECATED (TYPE_NAME (clas)))
i++;
+ PUT2 (i); /* attributes_count */
+
/* generate the SourceFile attribute. */
if (SourceFile_node == NULL_TREE)
{