1 |
/* java.util.zip.ZipEntry |
/* java.util.zip.ZipEntry |
2 |
Copyright (C) 2001 Free Software Foundation, Inc. |
Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
163 |
{ |
{ |
164 |
try |
try |
165 |
{ |
{ |
166 |
return super.clone(); |
// The JCL says that the `extra' field is also copied. |
167 |
|
ZipEntry clone = (ZipEntry) super.clone(); |
168 |
|
if (extra != null) |
169 |
|
clone.extra = (byte[]) extra.clone(); |
170 |
|
return clone; |
171 |
} |
} |
172 |
catch (CloneNotSupportedException ex) |
catch (CloneNotSupportedException ex) |
173 |
{ |
{ |