]> gcc.gnu.org Git - gcc.git/commitdiff
Forgot this file on last check-in.
authorBryce McKinlay <bryce@gcc.gnu.org>
Mon, 19 Feb 2001 22:52:15 +0000 (22:52 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 19 Feb 2001 22:52:15 +0000 (22:52 +0000)
From-SVN: r39910

gcc/java/typeck.c

index 4f3971612db93a2733783ffda45cef69aac05d43..5193ef2aa568dd423ca2a26a37e0845013485a22 100644 (file)
@@ -424,11 +424,6 @@ build_java_array_type (element_type, length)
   FIELD_FINAL (fld) = 1;
   TREE_READONLY (fld) = 1;
 
-  /* Add clone method.  This is different from Object.clone because it
-     is public.  */
-  add_method (t, ACC_PUBLIC | ACC_FINAL, get_identifier ("clone"),
-             get_identifier ("()Ljava/lang/Object;"));
-
   atype = build_prim_array_type (element_type, length);
   arfld = build_decl (FIELD_DECL, get_identifier ("data"), atype);
   DECL_CONTEXT (arfld) = t;
This page took 0.058717 seconds and 5 git commands to generate.