From: Bryce McKinlay Date: Mon, 19 Feb 2001 22:52:15 +0000 (+0000) Subject: Forgot this file on last check-in. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cb4f6fa99ae4e4c16714f476039413a24ab56ee;p=gcc.git Forgot this file on last check-in. From-SVN: r39910 --- diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 4f3971612db..5193ef2aa56 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -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;