* parse.y (create_class): Correct diagnostic message about
java.lang.Object extending anything else.
From-SVN: r83507
+2004-06-22 Ranjit Mathew <rmathew@hotmail.com>
+
+ * parse.y (create_class): Correct diagnostic message about
+ java.lang.Object extending anything else.
+
2004-06-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* class.c (build_class_ref): Add new operand for COMPONENT_REF.
/* If SUPER exists, use it, otherwise use Object */
if (super)
{
- /* Can't extend java.lang.Object */
+ /* java.lang.Object can't extend anything. */
if (TREE_TYPE (IDENTIFIER_CLASS_VALUE (class_id)) == object_type_node)
{
- parse_error_context (id, "Can't extend `java.lang.Object'");
+ parse_error_context (id, "`java.lang.Object' can't extend anything");
return NULL_TREE;
}