aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/typeck.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c
index 4f39716..5193ef2 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;