projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a648f4e
)
Forgot this file on last check-in.
author
Bryce McKinlay
<bryce@gcc.gnu.org>
Mon, 19 Feb 2001 22:52:15 +0000
(22:52 +0000)
committer
Bryce McKinlay
<bryce@gcc.gnu.org>
Mon, 19 Feb 2001 22:52:15 +0000
(22:52 +0000)
From-SVN: r39910
gcc/java/typeck.c
patch
|
blob
|
history
diff --git
a/gcc/java/typeck.c
b/gcc/java/typeck.c
index 4f3971612db93a2733783ffda45cef69aac05d43..5193ef2aa568dd423ca2a26a37e0845013485a22 100644
(file)
--- 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;