diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-09-06 18:22:41 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-09-06 18:22:41 +0000 |
commit | 3fd1746c0aff491d3c4d0fa75506c8d7693a845e (patch) | |
tree | 52752a50ff4d37107412eb59deb91bb4a01e6226 /java/src/Ice/Object.java | |
parent | adding clone() (diff) | |
download | ice-3fd1746c0aff491d3c4d0fa75506c8d7693a845e.tar.bz2 ice-3fd1746c0aff491d3c4d0fa75506c8d7693a845e.tar.xz ice-3fd1746c0aff491d3c4d0fa75506c8d7693a845e.zip |
clone() fixes
Diffstat (limited to 'java/src/Ice/Object.java')
-rw-r--r-- | java/src/Ice/Object.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/java/src/Ice/Object.java b/java/src/Ice/Object.java index 7135b123407..0b85e75db3f 100644 --- a/java/src/Ice/Object.java +++ b/java/src/Ice/Object.java @@ -58,8 +58,8 @@ public class Object return result; } - protected void - ice_copyStateFrom(Object obj) + protected final void + ice_cloneFacets(Object obj) throws java.lang.CloneNotSupportedException { // @@ -80,6 +80,13 @@ public class Object } } + protected void + ice_copyStateFrom(Object obj) + throws java.lang.CloneNotSupportedException + { + ice_cloneFacets(obj); + } + public int ice_hash() { |