aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@gcc.gnu.org>2001-02-19 22:52:15 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2001-02-19 22:52:15 +0000
commit3cb4f6fa99ae4e4c16714f476039413a24ab56ee (patch)
treeab50886f7316a69086701976d59236c2ef0aa956 /gcc
parenta648f4e4c8f0690cf47fe6fd93030e0a8f63c6a2 (diff)
downloadgcc-3cb4f6fa99ae4e4c16714f476039413a24ab56ee.zip
gcc-3cb4f6fa99ae4e4c16714f476039413a24ab56ee.tar.gz
gcc-3cb4f6fa99ae4e4c16714f476039413a24ab56ee.tar.bz2
Forgot this file on last check-in.
From-SVN: r39910
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;